fix: 优化设备接入新增类型
This commit is contained in:
parent
992e9a0aab
commit
5205755817
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
|
@ -141,7 +141,9 @@ const getTypeList = (result: Record<string, any>) => {
|
||||||
cloud.push(item);
|
cloud.push(item);
|
||||||
} else if (item.id === 'modbus-tcp' || item.id === 'opc-ua' || item.id === 'collector-gateway') {
|
} else if (item.id === 'modbus-tcp' || item.id === 'opc-ua' || item.id === 'collector-gateway') {
|
||||||
item.type = 'channel';
|
item.type = 'channel';
|
||||||
|
if (item.id === 'collector-gateway') {
|
||||||
channel.push(item);
|
channel.push(item);
|
||||||
|
}
|
||||||
} else if (
|
} else if (
|
||||||
item.id === 'official-edge-gateway' ||
|
item.id === 'official-edge-gateway' ||
|
||||||
item.id === 'edge-child-device'
|
item.id === 'edge-child-device'
|
||||||
|
|
Loading…
Reference in New Issue