Commit 510d721a by 高浩杰

修改反馈意见检测手机号

parent 444ccfa3
......@@ -84,7 +84,9 @@ export default {
},
methods: {
checkMobile() {
this.phoneErrMsg = checkPhone(this.mobile);
if (this.mobile !== '') {
this.phoneErrMsg = checkPhone(this.mobile);
}
},
// checkVerifyCode() {
// this.verifyErrMsg = checkVerification(this.verifyCode);
......
......@@ -89,7 +89,9 @@
},
methods: {
checkMobile() {
this.phoneErrMsg = checkPhone(this.mobile);
if (this.mobile !== '') {
this.phoneErrMsg = checkPhone(this.mobile);
}
},
//上传图片
async changeToUploadCover(e) {
......
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