feat: There is no way the,iphone config
This commit is contained in:
File diff suppressed because one or more lines are too long
+2
-2
@@ -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'){
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<script>
|
||||
import Vue from 'vue';
|
||||
import { Icon } from 'vant';
|
||||
import { hwh5 } from '../../api/hwh5-cloudonline.js';
|
||||
|
||||
Vue.use(Icon);
|
||||
export default {
|
||||
@@ -18,8 +19,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
closeWindow(){
|
||||
window.location.href="about:blank";
|
||||
window.close();
|
||||
hwh5.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
<script>
|
||||
import Vue from 'vue';
|
||||
import { Icon } from 'vant';
|
||||
import { hwh5 } from '../../api/hwh5-cloudonline.js';
|
||||
|
||||
|
||||
Vue.use(Icon);
|
||||
export default {
|
||||
@@ -18,8 +20,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
closeWindow(){
|
||||
window.location.href="about:blank";
|
||||
window.close();
|
||||
hwh5.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user