feat(仪表盘): 添加统计API并优化仪表盘组件
This commit is contained in:
@@ -204,7 +204,7 @@ function PortManagement() {
|
||||
const deviceId = port.deviceId;
|
||||
if (!grouped[deviceId]) {
|
||||
grouped[deviceId] = {
|
||||
device: devices.find(d => d.deviceId === deviceId),
|
||||
device: port.device || devices.find(d => d.deviceId === deviceId),
|
||||
ports: [],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user