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 Re from 'path-to-regexp'
|
||||||
|
|
||||||
import { get_verify_by_instance,loginIdm,getMenu,loginMobile } from 'api/process'
|
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'
|
import { ssoLoginUrlDev,ssoLoginUrl,webLoginType,devWebUrl } from '@/sysConfig'
|
||||||
|
|
||||||
@@ -109,8 +110,7 @@ router.beforeEach(function (to, from, next) {
|
|||||||
debugger
|
debugger
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
if(toName === 'processCenter'){
|
if(toName === 'processCenter'){
|
||||||
window.location.href="about:blank";
|
hwh5.close();
|
||||||
window.close();
|
|
||||||
}else {
|
}else {
|
||||||
if ((token === null || token === '' ) && toName !== 'Login') {
|
if ((token === null || token === '' ) && toName !== 'Login') {
|
||||||
if(toName !== 'phoneIndex'){
|
if(toName !== 'phoneIndex'){
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Icon } from 'vant';
|
import { Icon } from 'vant';
|
||||||
|
import { hwh5 } from '../../api/hwh5-cloudonline.js';
|
||||||
|
|
||||||
Vue.use(Icon);
|
Vue.use(Icon);
|
||||||
export default {
|
export default {
|
||||||
@@ -18,8 +19,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
closeWindow(){
|
closeWindow(){
|
||||||
window.location.href="about:blank";
|
hwh5.close()
|
||||||
window.close();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
<script>
|
<script>
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Icon } from 'vant';
|
import { Icon } from 'vant';
|
||||||
|
import { hwh5 } from '../../api/hwh5-cloudonline.js';
|
||||||
|
|
||||||
|
|
||||||
Vue.use(Icon);
|
Vue.use(Icon);
|
||||||
export default {
|
export default {
|
||||||
@@ -18,8 +20,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
closeWindow(){
|
closeWindow(){
|
||||||
window.location.href="about:blank";
|
hwh5.close();
|
||||||
window.close();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user