feat: There is no way the,iphone config
This commit is contained in:
+5
-2
@@ -106,10 +106,12 @@ router.beforeEach(function (to, from, next) {
|
|||||||
}
|
}
|
||||||
// 返回值为登录状态
|
// 返回值为登录状态
|
||||||
/** 判断是不是在手机端操作 */
|
/** 判断是不是在手机端操作 */
|
||||||
|
debugger
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
if(toName === 'processCenter'){
|
if(toName === 'processCenter'){
|
||||||
window.close();
|
window.opener = null;
|
||||||
}
|
window.open("about:blank", "_self").close()
|
||||||
|
}else {
|
||||||
if ((token === null || token === '' ) && toName !== 'Login') {
|
if ((token === null || token === '' ) && toName !== 'Login') {
|
||||||
if(toName !== 'phoneIndex'){
|
if(toName !== 'phoneIndex'){
|
||||||
sessionStorage.removeItem("param");
|
sessionStorage.removeItem("param");
|
||||||
@@ -141,6 +143,7 @@ router.beforeEach(function (to, from, next) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if ((token === null || token === '' ) && toName !== 'Login') {
|
if ((token === null || token === '' ) && toName !== 'Login') {
|
||||||
if(webLoginType != null && webLoginType === 'idm' ){
|
if(webLoginType != null && webLoginType === 'idm' ){
|
||||||
|
|||||||
Reference in New Issue
Block a user