feat: There is no way the,iphone config

This commit is contained in:
super_liu
2021-12-22 21:35:35 +08:00
parent d39140019b
commit ff1d7c18cc
4 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -53,6 +53,7 @@ import router from './router'
import Re from 'path-to-regexp'
import { get_verify_by_instance,loginIdm,getMenu,loginMobile } from 'api/process'
import { hwh5 } from '/api/hwh5-cloudonline.js';
import { ssoLoginUrlDev,ssoLoginUrl,webLoginType,devWebUrl } from '@/sysConfig'
@@ -109,8 +110,7 @@ router.beforeEach(function (to, from, next) {
debugger
if (isMobile()) {
if(toName === 'processCenter'){
window.location.href="about:blank";
window.close();
hwh5.close();
}else {
if ((token === null || token === '' ) && toName !== 'Login') {
if(toName !== 'phoneIndex'){