Commit 850d83a7616be3c395514593f879c5791cae3899
1 parent
ced7badb
fix: 修复设备创建TCP直连设备设备标识符类型为自定义时无法设置设备标识符号
Showing
1 changed file
with
1 additions
and
4 deletions
... | ... | @@ -206,10 +206,7 @@ export const step1Schemas: FormSchema[] = [ |
206 | 206 | }, |
207 | 207 | ifShow: ({ values }) => { |
208 | 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 | }, | ... | ... |