Commit c39fa33f9b6ed278da1188c7757a716bdaf16de1
1 parent
062f1a79
perf: create device limit device name && alias name
Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -25,7 +25,7 @@ export const step1Schemas: FormSchema[] = [ | @@ -25,7 +25,7 @@ export const step1Schemas: FormSchema[] = [ | ||
| 25 | colProps: { span: 14 }, | 25 | colProps: { span: 14 }, |
| 26 | componentProps: { | 26 | componentProps: { |
| 27 | placeholder: '设备名称', | 27 | placeholder: '设备名称', |
| 28 | - maxLength: 30, | 28 | + maxLength: 255, |
| 29 | }, | 29 | }, |
| 30 | }, | 30 | }, |
| 31 | { | 31 | { |
| @@ -34,6 +34,9 @@ export const step1Schemas: FormSchema[] = [ | @@ -34,6 +34,9 @@ export const step1Schemas: FormSchema[] = [ | ||
| 34 | component: 'Input', | 34 | component: 'Input', |
| 35 | labelWidth: 60, | 35 | labelWidth: 60, |
| 36 | colProps: { span: 10 }, | 36 | colProps: { span: 10 }, |
| 37 | + componentProps: { | ||
| 38 | + maxLength: 255, | ||
| 39 | + }, | ||
| 37 | }, | 40 | }, |
| 38 | { | 41 | { |
| 39 | field: 'sn', | 42 | field: 'sn', |