!328 update ruoyi-admin/src/main/resources/static/ruoyi/login.js.

Merge pull request !328 from 孙鹏/N/A
This commit is contained in:
若依
2021-09-10 07:31:32 +00:00
committed by Gitee

View File

@@ -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;
} }
} }
}); });