Explorar o código

注册h5页面更新

xiaogang %!s(int64=3) %!d(string=hai) anos
pai
achega
30c414c757
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      public/web/register.html

+ 4 - 1
public/web/register.html

xqd
@@ -188,8 +188,11 @@
             if (!(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,16}$/.test(pwd))) {
                 return mui.toast('密码格式错误!');
             }
+            if(verifyKey==''){
+                return mui.toast('请发送短信验证码!');
+            }
 
-            if (xieyBtn) {
+            if (!xieyBtn) {
                 return mui.toast('请先勾选隐私协议');
             }
             regBtn = false;