fix: 修复测试用例等

This commit is contained in:
chenjinsong
2023-08-25 11:43:46 +08:00
parent f4ba0040ea
commit 72fdb13295
7 changed files with 45 additions and 25 deletions

View File

@@ -10,7 +10,7 @@ const loginWhiteList = ['/login', '/'] // 免登陆白名单
const permissionWhiteList = [...loginWhiteList] // 权限白名单
router.beforeEach(async (to, from, next) => {
if (to.path.indexOf('/login') == -1) {
if (to.path.indexOf('/login') === -1) {
sessionStorage.setItem(storageKey.tokenExpireCurrentPath, decodeURIComponent(to.fullPath))
}
// 加载iso-3166-2资源