Browse Source

手机号检查失败

liuwenhui 7 years ago
parent
commit
1bdae04075
1 changed files with 1 additions and 1 deletions
  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;
     }