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

Merge pull request !328 from 孙鹏/N/A
pull/329/head
若依 2021-09-10 07:31:32 +00:00 committed by Gitee
commit 8ed485c28f
1 changed files with 4 additions and 4 deletions

View File

@ -76,11 +76,11 @@ function validateKickout() {
if (top != self) {
top.location = self.location;
} else {
var url  =  location.search;
var url = location.search;
if (url) {
var oldUrl  = window.location.href;
var newUrl  = oldUrl.substring(0,  oldUrl.indexOf('?'));
self.location  = newUrl;
var oldUrl = window.location.href;
var newUrl = oldUrl.substring(0, oldUrl.indexOf('?'));
self.location = newUrl;
}
}
});