<FormItem label="联系方式" >
              {getFieldDecorator("mobile", {
                rules :[
                  {
                    pattern: /^1[3|4|5|7|8][0-9]\d{8}$/, message: '请输入正确的手机号'
                  }
                ]
              },{
                initialValue:vehicleinfo.mobile
              })(
                <Input />
              )}
            </FormItem>
rules :[
                  {
                    pattern: /^1[3|4|5|7|8][0-9]\d{8}$/, message: '请输入正确的手机号'
                  }
                ]

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2022-02-04
  • 2021-05-17
  • 2022-12-23
  • 2022-01-02
猜你喜欢
  • 2021-12-05
  • 2021-07-25
  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案