src/permission.js @@ -43,9 +43,13 @@ }) }) } else { if (store.getters.isLock && to.path !=='/lock') { next('/lock') } else { next() } } } } else { // 没有token if (isWhiteList(to.path)) {