fix: 优化设备接入新增类型

This commit is contained in:
XieYongHong 2023-07-25 20:02:45 +08:00
parent 992e9a0aab
commit 5205755817
2 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -141,7 +141,9 @@ const getTypeList = (result: Record<string, any>) => {
cloud.push(item);
} else if (item.id === 'modbus-tcp' || item.id === 'opc-ua' || item.id === 'collector-gateway') {
item.type = 'channel';
if (item.id === 'collector-gateway') {
channel.push(item);
}
} else if (
item.id === 'official-edge-gateway' ||
item.id === 'edge-child-device'