Commit 56f8751f authored by 田翔's avatar 田翔

fix: 电话号码正常修改

parent 93fd2449
{
"name": "panda-xform",
"version": "5.7.1",
"description": "5.7.1 表单布局样式优化",
"version": "5.7.2",
"description": "5.7.2 电话号码正常修改",
"keywords": [
"panda-xform"
],
......
......@@ -4,25 +4,25 @@ import { Select } from 'antd'
const options = [
{
name: 'email',
label: '邮箱(email)',
label: '邮箱',
value: '^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(.[a-zA-Z0-9_-]+)+$',
message: '邮箱校验未通过',
},
{
name: 'identity',
label: '身份证号(identity)',
label: '身份证号',
value: '(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)',
message: '身份证号校验未通过',
},
{
name: 'mobile',
label: '手机号(mobile)',
value: '^[1][3,4,5,6,7,8,9][0-9]{9}$',
message: '手机号校验未通过',
label: '手机号/固话',
value: '^[1][3,4,5,6,7,8,9][0-9]{9}$|^(0[0-9]{2,3})?(\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,6})?$',
message: '手机号/固话校验未通过',
},
{
name: 'bankAccount',
label: '银行卡号(bankAccount)',
label: '银行卡号',
value: '^(\\d{16}|\\d{19})$',
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