@@ -97,10 +97,10 @@ export default {
});
return;
}
- if (!this.form.phone) {
+ if (!/^1[3-9]\d{9}$/.test(this.form.phone)) {
wx.showToast({
icon: 'none',
- title: '手机号码不能为空'
+ title: '请输入正确手机号'