Commit 469a42c0 authored by 王苓芝's avatar 王苓芝

手机号验证

parent cda4e156
......@@ -129,6 +129,10 @@ const AuditModal = props => {
{getFieldDecorator('receiverPhone', {
initialValue: formData.phone,
rules: [
{
pattern: new RegExp(/^1[3456789]\d{9}$/, 'g'),
message: '手机号码格式不正确!',
},
{
required: true,
message: '请填写手机号码!',
......
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