Commit 50c280c40612160439feaa2c2397c229ae2b8b87

Authored by ww
1 parent 1b2f1b00

fix: 修复创建设备时TCP产品默认设备标识类型为modbus

@@ -89,6 +89,7 @@ export const step1Schemas: FormSchema[] = [ @@ -89,6 +89,7 @@ export const step1Schemas: FormSchema[] = [
89 transportType, 89 transportType,
90 deviceProfileId: id, 90 deviceProfileId: id,
91 gatewayId: null, 91 gatewayId: null,
  92 + codeType: transportType === TransportTypeEnum.TCP ? TaskTypeEnum.MODBUS : null,
92 }); 93 });
93 }, 94 },
94 showSearch: true, 95 showSearch: true,