fix[litemall-wx]: 修复手机号码格式验证。

This commit is contained in:
Junling Bu
2018-05-18 15:31:38 +08:00
parent 6e0f22751f
commit b82e38353e

View File

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