Commit 51bcf69c authored by 侯絮's avatar 侯絮

fix(auditmodal): 修改地址校验

parent c1352c72
......@@ -110,7 +110,7 @@ const AuditModal = props => {
{
required: true,
message: '请填写退货地址!',
pattern: /^([\u4E00-\uFA29]|[\uE7C7-\uE7F3]|[a-zA-Z0-9_!@#¥%……&*()——+【】《》、;‘,。!@#$%^&*()_+{}|:“”<>?’~·])+$/gi,
pattern: /[a-zA-Z0-9_\u4e00-\u9fa5]/g,
},
],
})(<Input placeholder="最多输入50个字符" maxLength="50" allowClear />)}
......
......@@ -137,7 +137,7 @@ const AuditModal = props => {
{
required: true,
message: '请填写正确退货地址!',
pattern: /^([\u4E00-\uFA29]|[\uE7C7-\uE7F3]|[a-zA-Z0-9_!@#¥%……&*()——+【】《》、;‘,。!@#$%^&*()_+{}|:“”<>?’~·])+$/gi,
pattern: /[a-zA-Z0-9_\u4e00-\u9fa5]/g,
},
],
})(<Input placeholder="最多输入50个字符" maxLength="50" allowClear />)}
......
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