Commit 4ac4b8a1 authored by cellee's avatar cellee

Merge branch 'final' of http://120.77.240.215:9701/Maple/tostumi.git into final

parents db3bf768 720dfd56
...@@ -191,7 +191,7 @@ export default defineConfig({ ...@@ -191,7 +191,7 @@ export default defineConfig({
}, },
{ {
path: './OwnerComplaints', path: './OwnerComplaints',
name: 'ownercomplaints', // name: 'ownercomplaints',
component: './CommercialService/PropertyServices', component: './CommercialService/PropertyServices',
}, },
{ {
......
...@@ -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