quanwei
18 hours ago c441dea81bd86bdfb12dff35821fed51f4cc91c2
agent_vue/src/permission.js
@@ -14,7 +14,7 @@
} from '@/utils/base'
 const whiteList = ['/login', '/test', '/fonticon']
// 在每个路由生效之前,先进行一些处理,请参考 vue-router官方文档-导航钩子
// åœ¨æ¯ä¸ªè·¯ç”±ç”Ÿæ•ˆä¹‹å‰ï¼Œå…ˆè¿›è¡Œä¸€äº›å¤„理,请参è€?vue-router官方文档-导航钩子
router.beforeEach((to, from, next) => {
  const isLogin = getCookie('isLogin');