luwenna 3 年之前
父節點
當前提交
806e7c0822
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jfw/modules/app/src/web/templates/me/login.html

+ 1 - 1
src/jfw/modules/app/src/web/templates/me/login.html

@@ -201,7 +201,7 @@
 					return
 				}
 				var phone = $.trim($("#tel").val());
-				if((!Verification.isPhone(phone))||(!CreatePhone.isPhone(phone))){
+				if((!Verification.isPhone(phone))&&(!CreatePhone.isPhone(phone))){
 					EasyAlert.show("手机号格式错误");
 					return
 				}