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

修改了在IntelliJ IDEA中 ‘空格’ 展示为 ‘NBSP’ 的问题。
pull/328/head
孙鹏 2021-09-10 06:40:51 +00:00 committed by Gitee
parent 38f7ecb671
commit b307655251
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;
}
}
});