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