Commit b95d7d6998aaf1dc3d61ff402921a668b0809a84
Merge branch 'fix/device-create' into 'main_dev'
fix: 修复设备创建TCP直连设备设备标识符类型为自定义时无法设置设备标识符号 See merge request yunteng/thingskit-front!910
Showing
1 changed file
with
1 additions
and
4 deletions
| @@ -206,10 +206,7 @@ export const step1Schemas: FormSchema[] = [ | @@ -206,10 +206,7 @@ export const step1Schemas: FormSchema[] = [ | ||
| 206 | }, | 206 | }, |
| 207 | ifShow: ({ values }) => { | 207 | ifShow: ({ values }) => { |
| 208 | return ( | 208 | return ( |
| 209 | - values?.transportType === TransportTypeEnum.TCP && | ||
| 210 | - (values.deviceType === DeviceTypeEnum.SENSOR || | ||
| 211 | - values.deviceType === DeviceTypeEnum.GATEWAY) && | ||
| 212 | - values?.codeType === TaskTypeEnum.CUSTOM | 209 | + values?.transportType === TransportTypeEnum.TCP && values?.codeType === TaskTypeEnum.CUSTOM |
| 213 | ); | 210 | ); |
| 214 | }, | 211 | }, |
| 215 | }, | 212 | }, |