Commit dc0c9657 authored by lijiongliang's avatar lijiongliang

验证修改

parent dd9d01ae
...@@ -324,6 +324,14 @@ export default { ...@@ -324,6 +324,14 @@ export default {
}); });
return; return;
} }
let regMobile = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
if (!regMobile.test(this.model1.userMobile)) {
uni.showToast({
icon: 'none',
title: '请先填写正确的手机号'
});
return;
}
uni.showLoading({ uni.showLoading({
title: '加载中', title: '加载中',
mask:true mask:true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment