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