Commit 39525729ed39d12fdef4cbf9ace81007efabd99f
Merge branch 'perf/tcp-device-default-value' into 'main_dev'
fix: 修复创建设备时TCP产品默认设备标识类型为modbus See merge request yunteng/thingskit-front!760
Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -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, |