同上
This commit is contained in:
@@ -132,8 +132,11 @@
|
|||||||
okay: {
|
okay: {
|
||||||
text: '关闭',
|
text: '关闭',
|
||||||
action: function () {
|
action: function () {
|
||||||
parent.window.close();
|
if (window.frames.length !== parent.frames.length) {
|
||||||
window.open("/login");
|
parent.window.open("/login",'_self');
|
||||||
|
}else{
|
||||||
|
window.open("/login",'_self');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -281,8 +281,11 @@
|
|||||||
$.cookie('_nav_title_', '');
|
$.cookie('_nav_title_', '');
|
||||||
$.cookie('_login_token_', '');
|
$.cookie('_login_token_', '');
|
||||||
|
|
||||||
parent.window.close();
|
if (window.frames.length !== parent.frames.length) {
|
||||||
window.open("/login");
|
parent.window.open("/login",'_self');
|
||||||
|
}else{
|
||||||
|
window.open("/login",'_self');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
function (response) {
|
function (response) {
|
||||||
AjaxError(response);
|
AjaxError(response);
|
||||||
|
|||||||
Reference in New Issue
Block a user