|
|
@ -60,7 +60,7 @@ const UserModal = (props) => { |
|
|
|
}} |
|
|
|
placeholder="请输入用户名(手机号)" |
|
|
|
rules={[ |
|
|
|
{ required: true, valueType: Number, max: 11 }, { pattern: /^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/, message: "请输入正确的手机号" } |
|
|
|
{ required: true, valueType: Number, max: 11 }, { pattern: /^1([358][0-9]|4[579]|66|7[0135678]|9[189])[0-9]{8}$/, message: "请输入正确的手机号" } |
|
|
|
]} |
|
|
|
/> |
|
|
|
</ProForm.Group> |
|
|
|