diff --git a/web/js/login_registerScripts.js b/web/js/login_registerScripts.js
index ab74741b5f0e4c791770569b1dbc391c6a74d418..f14f957ecda6f7cb9fc232440fe3cf53b0f7f891 100644
--- a/web/js/login_registerScripts.js
+++ b/web/js/login_registerScripts.js
@@ -106,8 +106,8 @@ function register(){
         dataType: 'text',
         success: function(data){
             if(data == "success"){
-                //window.location.href="register.jsp";
-                alert("注册成功,换成要跳转的页面");
+                window.location.href="index.html";
+                //alert("注册成功,换成要跳转的页面");
             } else{
                 $("#tip_failed").html("Sign up failed, please check your email and password!");
             }