feat: There is no way the,iphone config
This commit is contained in:
+8
-2
@@ -109,8 +109,14 @@ router.beforeEach(function (to, from, next) {
|
||||
debugger
|
||||
if (isMobile()) {
|
||||
if(toName === 'processCenter'){
|
||||
window.opener = null;
|
||||
window.open("about:blank", "_self").close()
|
||||
const userAgent = navigator.userAgent;
|
||||
if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") !=-1) {
|
||||
window.location.href = "about:blank"
|
||||
}else {
|
||||
window.opener = null;
|
||||
window.open("about:blank", "_self");
|
||||
window.close();
|
||||
}
|
||||
}else {
|
||||
if ((token === null || token === '' ) && toName !== 'Login') {
|
||||
if(toName !== 'phoneIndex'){
|
||||
|
||||
Reference in New Issue
Block a user