Commit 8fdc6151 authored by 王苓芝's avatar 王苓芝

规则修改

parent fb862263
...@@ -151,7 +151,7 @@ const LogisticsForm = props => { ...@@ -151,7 +151,7 @@ const LogisticsForm = props => {
initialValue: v.serialNumber, initialValue: v.serialNumber,
rules: [ rules: [
{ {
pattern: new RegExp(/^[0-9a-zA-Z-_]{6,12}$/, 'g'), pattern: new RegExp(/^[0-9a-zA-Z-_]{6,32}$/, 'g'),
message: '序列号格式不正确!', 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