Browse Source

Merge pull request #2174 from laizhebusan1987/master

修复登录以后跳转到localhost:8081/xxl-job-admin,然后再302重定向到localhost:8081/xxl-job-admin/的问题
许雪里 4 years ago
parent
commit
2e4c743bd1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      xxl-job-admin/src/main/resources/static/js/login.1.js

+ 1 - 1
xxl-job-admin/src/main/resources/static/js/login.1.js

@@ -50,7 +50,7 @@ $(function(){
 				if (data.code == "200") {
 				if (data.code == "200") {
                     layer.msg( I18n.login_success );
                     layer.msg( I18n.login_success );
                     setTimeout(function(){
                     setTimeout(function(){
-                        window.location.href = base_url;
+                        window.location.href = base_url + "/";
                     }, 500);
                     }, 500);
 				} else {
 				} else {
                     layer.open({
                     layer.open({