diff --git a/src/router/index.js b/src/router/index.js index c5aa144..dce9cfb 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -6,7 +6,8 @@ Vue.use(Router) // 不需要登录拦截的路由配置 const loginIgnore = { - names: ['404', '403'], //根据路由名称匹配 + names: [], + //names: ['404', '403'], //根据路由名称匹配 paths: ['/login'], //根据路由fullPath匹配 /** * 判断路由是否包含在该配置中