Commit 2cf4d71f2ac9155eb14921ab47bbc7e8cdf456b4

Authored by ww
1 parent c8506463

perf: 物模型新增输入参数为必填项

@@ -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 },