Commit 185ac742 authored by jiangqihao's avatar jiangqihao

jqh

parent d0c6244a
......@@ -8,7 +8,7 @@ import getPageTitle from '@/utils/get-page-title'
NProgress.configure({ showSpinner: false }) // NProgress Configuration
const whiteList = ['/login', '/auth-redirect'] // no redirect whitelist
const whiteList = ['/prov-register', '/city-register','/prov-progress','/city-progress' ,'/login', '/auth-redirect'] // no redirect whitelist
router.beforeEach(async (to, from, next) => {
// start progress bar
......
......@@ -80,7 +80,7 @@ const actions = {
return new Promise(resolve => {
const paths = JSON.parse(localStorage.getItem('PATHS'))
let accessedRoutes
const test = false // 是否测试阶段
const test = true // 是否测试阶段
if (test) {
accessedRoutes = asyncRoutes
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment