mirror of https://gitee.com/y_project/RuoYi.git
!328 update ruoyi-admin/src/main/resources/static/ruoyi/login.js.
Merge pull request !328 from 孙鹏/N/Apull/329/head
commit
8ed485c28f
|
@ -76,11 +76,11 @@ function validateKickout() {
|
||||||
if (top != self) {
|
if (top != self) {
|
||||||
top.location = self.location;
|
top.location = self.location;
|
||||||
} else {
|
} else {
|
||||||
var url = location.search;
|
var url = location.search;
|
||||||
if (url) {
|
if (url) {
|
||||||
var oldUrl = window.location.href;
|
var oldUrl = window.location.href;
|
||||||
var newUrl = oldUrl.substring(0, oldUrl.indexOf('?'));
|
var newUrl = oldUrl.substring(0, oldUrl.indexOf('?'));
|
||||||
self.location = newUrl;
|
self.location = newUrl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue