Browse Source

!328 update ruoyi-admin/src/main/resources/static/ruoyi/login.js.
Merge pull request !328 from 孙鹏/N/A

若依 3 years ago
parent
commit
8ed485c28f
1 changed files with 4 additions and 4 deletions
  1. 4 4
      ruoyi-admin/src/main/resources/static/ruoyi/login.js

+ 4 - 4
ruoyi-admin/src/main/resources/static/ruoyi/login.js

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