Commit 720dfd56 authored by Sixiang_Zzb's avatar Sixiang_Zzb

修改申请住户卡的栋层判断

parent 9b474b01
...@@ -110,7 +110,7 @@ const CardAdd = (props: any) => { ...@@ -110,7 +110,7 @@ const CardAdd = (props: any) => {
rules={[ rules={[
{ {
required: true, required: true,
pattern: /^\d+$/, pattern: /^[a-zA-Z0-9]+$/,
message: 'Only numbers and letters can be entered', message: 'Only numbers and letters can be entered',
}, },
]} ]}
...@@ -125,7 +125,7 @@ const CardAdd = (props: any) => { ...@@ -125,7 +125,7 @@ const CardAdd = (props: any) => {
rules={[ rules={[
{ {
required: true, required: true,
pattern: /^\d+$/, pattern: /^[a-zA-Z0-9]+$/,
message: 'Only numbers and letters can be entered', message: 'Only numbers and letters can be entered',
}, },
]} ]}
...@@ -139,7 +139,7 @@ const CardAdd = (props: any) => { ...@@ -139,7 +139,7 @@ const CardAdd = (props: any) => {
rules={[ rules={[
{ {
required: true, required: true,
pattern: /^\d+$/, pattern: /^[a-zA-Z0-9]+$/,
message: 'Only numbers and letters can be entered', message: 'Only numbers and letters can be entered',
}, },
]} ]}
......
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