yangfeng
2024-02-28 504e00da9a9898ac419e97f93fc66cc7c7c6f620
src/router/index.js
@@ -142,9 +142,9 @@
    const result = await hasPermission(to.path);
    console.log(result,"result")
    next();
    if (!isSkip) {
      next('/noData')
    }
    // if (!isSkip) {
    //   next('/noData')
    // }
  } catch (error) {
    console.error('Error in navigation guard:', error);
    next();