This commit is contained in:
SelfRidicule 2024-08-08 09:35:27 +08:00
parent 7f4f253a6b
commit 8a03bc4f9b

View File

@ -552,7 +552,12 @@ Page({
return;
}
// 联系电话
if (!detail.phone) {
if (detail.phone) {
if (detail.phone.length != 11) {
_this.showErrMsg('请输入11位联系电话!')
return;
}
} else {
_this.showErrMsg('请输入联系电话!')
return;
}