自动初始化整体调试完成
This commit is contained in:
@@ -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']
|
||||
// 在白名单中的判断情况
|
||||
|
Reference in New Issue
Block a user