Commit 39525729ed39d12fdef4cbf9ace81007efabd99f

Authored by xp.Huang
2 parents fe819f19 50c280c4

Merge branch 'perf/tcp-device-default-value' into 'main_dev'

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

See merge request yunteng/thingskit-front!760
@@ -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,