Commit e2746b4f authored by 侯絮's avatar 侯絮

fix(auditmodal): 修改提示

parent 2b73607c
...@@ -84,7 +84,8 @@ const AuditModal = props => { ...@@ -84,7 +84,8 @@ const AuditModal = props => {
return ( return (
<Modal <Modal
title="售后操作确认" title="售后操作确认"
visible={visible} // visible={visible}
visible
onOk={() => handleOk()} onOk={() => handleOk()}
onCancel={() => handleCancel()} onCancel={() => handleCancel()}
> >
...@@ -110,6 +111,9 @@ const AuditModal = props => { ...@@ -110,6 +111,9 @@ const AuditModal = props => {
{ {
required: true, required: true,
message: '请填写退货地址!', message: '请填写退货地址!',
},
{
message: '格式有误,请填写正确的退货地址!',
pattern: /[a-zA-Z0-9_\u4e00-\u9fa5]/g, pattern: /[a-zA-Z0-9_\u4e00-\u9fa5]/g,
}, },
], ],
...@@ -122,6 +126,9 @@ const AuditModal = props => { ...@@ -122,6 +126,9 @@ const AuditModal = props => {
{ {
required: true, required: true,
message: '请填写收件人!', message: '请填写收件人!',
},
{
message: '格式有误,请输入中英文、数字!',
pattern: /^[A-Za-z0-9\u4e00-\u9fa5]+$/, pattern: /^[A-Za-z0-9\u4e00-\u9fa5]+$/,
}, },
], ],
......
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