Commit 61ab426c39a9c16667787c453a3958c502ffd5e9

Authored by ww
1 parent f0d40911

feat: 创建tcp设备新增设备标识字段

... ... @@ -105,6 +105,17 @@ export const step1Schemas: FormSchema[] = [
105 105 },
106 106 },
107 107 {
  108 + field: 'code',
  109 + label: '设备标识',
  110 + required: true,
  111 + component: 'Input',
  112 + componentProps: {
  113 + maxLength: 255,
  114 + placeholder: '请输入设备标识',
  115 + },
  116 + ifShow: ({ values }) => values?.transportType === TransportTypeEnum.TCP,
  117 + },
  118 + {
108 119 field: 'brand',
109 120 component: 'ApiRadioGroup',
110 121 label: '选择厂家',
... ...