Commit 944905dc by 姜雷

添加报修电话校验

parent 64a97b8b
......@@ -133,6 +133,10 @@ class ReprtRepair extends Component {
Toast.fail('请输入报修人电话!');
return;
}
if (applyForm.repairCellphone.length !== 11) {
Toast.fail('请输入正确电话!');
return;
}
if (!applyForm.applyIdentity) {
Toast.fail('请选择报修人身份!');
return;
......
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