update 内部登录页面
This commit is contained in:
@@ -319,7 +319,12 @@ export const constantRouterMap = [
|
||||
path: 'alteration',
|
||||
name: 'alteration',
|
||||
component: () => import(/* webpackChunkName: "user" */ '@/views/user/alteration/Alteration')
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'internalLogin',
|
||||
name: 'internalLogin',
|
||||
component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
|
||||
},
|
||||
]
|
||||
},
|
||||
// {
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import { updatePageHeight } from './components/tools/setting'
|
||||
|
||||
NProgress.configure({ showSpinner: false }) // NProgress Configuration
|
||||
|
||||
const whiteList = ['/user/login', '/user/register', '/user/register-result', '/user/alteration'] // no redirect whitelist
|
||||
const whiteList = ['/user/login', '/user/register', '/user/register-result', '/user/alteration', '/user/internalLogin'] // no redirect whitelist
|
||||
whiteList.push(OAUTH2_LOGIN_PAGE_PATH)
|
||||
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
|
||||
Reference in New Issue
Block a user