ZengTao
2024-01-03 1632ba92d37e43baf671f7d465b67d644d545cf5
CanadaMes-ui/src/router/index.js
@@ -134,7 +134,10 @@
const router = new VueRouter({
  // base: '/canadames/',  
  routes
  routes,
  meta:{
keepAlive:false
  }
});
// 路由控制守卫,解决需要登录才可以访问的页面
@@ -144,8 +147,6 @@
  // 获取token
  const hasToken = getToken();
  const isExist = Vue.prototype.$tagList.some(tag => tag.path === to.fullPath);