fix(手机端): 退出到welink待办页
This commit is contained in:
+2
-2
@@ -53,7 +53,7 @@ import { webLoginType } from '@/sysConfig'
|
||||
|
||||
import VConsole from 'vuex'
|
||||
|
||||
import isMobile from "./store/isMobile";
|
||||
import isMobile from './store/isMobile';
|
||||
import { getCode, toIdmLoginPage, loginInIdm, loginInPhone, close } from '@/utils/login'
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
@@ -99,7 +99,7 @@ router.beforeEach((to, from, next) => {
|
||||
} else {
|
||||
if (getCode()) {
|
||||
loginInIdm(getCode()).then(() => {
|
||||
let path = to.fullPath.replace('code=' + getCode(), '')
|
||||
const path = to.fullPath.replace('code=' + getCode(), '')
|
||||
next({ path })
|
||||
})
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user