src/router/index.js
@@ -136,14 +136,13 @@
  }
}
router.beforeEach(async (to, from, next) => {
  console.log(to,from,"看看")
  try {
    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();