Ver código fonte

修复登录以后跳转到http://127.0.0.1:8081/xxl-job-admin,然后再302重定向到http://127.0.0.1:8081/xxl-job-admin/的问题

chenjun 4 anos atrás
pai
commit
e7c419a53a

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

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