浏览代码

!1 添加地址手机号检查错误
Merge pull request !1 from llwbhp/master

linlinjava 7 年之前
父节点
当前提交
6e0f22751f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      litemall-wx/pages/ucenter/addressAdd/addressAdd.js

+ 1 - 1
litemall-wx/pages/ucenter/addressAdd/addressAdd.js

@@ -287,7 +287,7 @@ Page({
       return false;
     }
 
-    if (!check.isValidPhone(this.data.mobile)) {
+    if (!check.isValidPhone(address.mobile)) {
       util.showErrorToast('手机号不正确');
       return false;
     }