| src/permission.js | ●●●●● patch | view | raw | blame | history |
src/permission.js
@@ -47,6 +47,7 @@ const menuAll = getStore({ name: 'menuAll' }) if (getToken()) { if (!menuAll) { store.dispatch('GetMenu').then(data => { if (data.length !== 0) { @@ -83,7 +84,6 @@ return } if (getToken()) { if (store.getters.isLock && to.path !== lockPage) { //如果系统激活锁屏,全部跳转到锁屏页 next({ path: lockPage })