Commit 0977695abbfae105c9b261bd4333e0b7f713b9df

Authored by ww
1 parent 2cf4d71f

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

... ... @@ -116,6 +116,7 @@ export const serviceSchemas = (tcpDeviceFlag: boolean): FormSchema[] => {
116 116 field: FormField.SERVICE_COMMAND,
117 117 label: '输入参数',
118 118 component: 'Input',
  119 + rules: [{ message: '输入参数为必填项', required: true }],
119 120 ifShow: tcpDeviceFlag,
120 121 componentProps: {
121 122 placeholder: '请输入ASCII或HEX服务命令',
... ...