|
@@ -8,7 +8,7 @@ import getPageTitle from '@/static/utils/get-page-title'
|
|
|
|
|
|
|
|
NProgress.configure({ showSpinner: false }) // NProgress Configuration
|
|
NProgress.configure({ showSpinner: false }) // NProgress Configuration
|
|
|
|
|
|
|
|
-const whiteList = ['/login', '/bizLogin','/lifeLine','/door','/backstage','/deviceh5','/assitsdanger'] // no redirect whitelist 路由白名单
|
|
|
|
|
|
|
+const whiteList = ['/login', '/bizLogin','/lifeLine','/door','/deviceh5','/assitsdanger'] // no redirect whitelist 路由白名单
|
|
|
|
|
|
|
|
router.beforeEach(async(to, from, next) => {
|
|
router.beforeEach(async(to, from, next) => {
|
|
|
//console.log('beforeEach')
|
|
//console.log('beforeEach')
|