haoxuan
2023-12-26 eed27d3000e127c433fd45609d0d5e5d06b7868c
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();