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