Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -127,6 +127,7 @@ export const serviceSchemas = (tcpDeviceFlag: boolean): FormSchema[] => { |
127 | 127 | component: 'StructForm', |
128 | 128 | valueField: 'value', |
129 | 129 | changeEvent: 'update:value', |
130 | + rules: [{ message: '输入参数为必填项', required: true, type: 'array' }], | |
130 | 131 | ifShow: !tcpDeviceFlag, |
131 | 132 | colProps: { span: 24 }, |
132 | 133 | }, | ... | ... |