bug修复
This commit is contained in:
parent
5432d08ac1
commit
9ea4ce890f
|
|
@ -431,7 +431,7 @@
|
|||
let that = this;
|
||||
that.$refs.exitForm.validate().then((formData) => {
|
||||
console.log("formData", formData);
|
||||
if (!that.phoneReg.test(formData.phone)) {
|
||||
if (formData.phone!="" && !that.phoneReg.test(formData.phone)) {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: "请输入正确格式的手机号!",
|
||||
|
|
|
|||
Loading…
Reference in New Issue