diff --git a/litemall-wx/pages/ucenter/addressAdd/addressAdd.js b/litemall-wx/pages/ucenter/addressAdd/addressAdd.js index 4b25ba339d2a4dfa8dac1dade656d16196d244cb..e04d0e1d9be366a8bd53d31cca630cdd8e63fb3e 100644 --- a/litemall-wx/pages/ucenter/addressAdd/addressAdd.js +++ b/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; }