wuyouming666
2023-12-21 81826e66f68a37486516ee93c4e11d92a00c3fb6
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);