fix: 修复手机集成WELINK页面的BUG
This commit is contained in:
+4
-2
@@ -144,9 +144,11 @@ router.beforeEach(function (to, from, next) {
|
||||
// 单点登录
|
||||
/** 判断是不是在手机端操作 */
|
||||
if (isMobile()) {
|
||||
if(toName === 'phoneHome'){
|
||||
if(toName === 'phoneHome' && (token === undefined || token === null || token === '')){
|
||||
next('/loginVerifyPhone')
|
||||
}else if(toName === 'processCenter'){
|
||||
}else if(toName === 'phoneHome' && token != null){
|
||||
next()
|
||||
} else if(toName === 'processCenter'){
|
||||
// hwh5.close();
|
||||
//关闭当前窗口
|
||||
let userAgent = navigator.userAgent;
|
||||
|
||||
Reference in New Issue
Block a user