huaisian 2 years ago
parent
commit
5c5297ee7a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/index.js

+ 1 - 1
js/index.js

@@ -656,6 +656,7 @@ $('.match__next2').click(function() {
     }
     console.log(time);
     if(name== 0 && phone == 0 && sex == 0 && readPolicy == 0) {
+        myModal.hide();
         $.ajax({
             type: "POST",
             url: "",
@@ -699,7 +700,6 @@ $('.match__next2').click(function() {
                 console.error(error)
             }
         })
-        myModal.hide();
        window.open('./index_match.html');
     }