Showing
1 changed file
with
5 additions
and
1 deletions
... | ... | @@ -65,7 +65,7 @@ export const step1Schemas: FormSchema[] = [ |
65 | 65 | label: '别名 ', |
66 | 66 | component: 'Input', |
67 | 67 | componentProps: { |
68 | - maxLength: 255, | |
68 | + maxLength: 32, | |
69 | 69 | placeholder: '请输入别名', |
70 | 70 | }, |
71 | 71 | }, |
... | ... | @@ -73,6 +73,10 @@ export const step1Schemas: FormSchema[] = [ |
73 | 73 | field: 'name', |
74 | 74 | label: '设备名称', |
75 | 75 | component: 'Input', |
76 | + componentProps: { | |
77 | + maxLength: 32, | |
78 | + placeholder: '请输入别名', | |
79 | + }, | |
76 | 80 | rules: [{ required: true, message: '设备名称为必填项' }], |
77 | 81 | slot: 'snCode', |
78 | 82 | }, | ... | ... |