自动初始化整体调试完成

This commit is contained in:
pixel
2021-03-04 19:38:07 +08:00
parent 4a995a1c56
commit 184b1a903f
14 changed files with 273 additions and 32 deletions

View File

@@ -4,7 +4,7 @@ import getPageTitle from '@/utils/page'
let asyncRouterFlag = 0
const whiteList = ['login']
const whiteList = ['login','init']
router.beforeEach(async(to, from, next) => {
const token = store.getters['user/token']
// 在白名单中的判断情况