fix: 定位设备树时保留原有的展开状态

This commit is contained in:
yangsy
2025-12-25 11:08:32 +08:00
parent 26d894ba1c
commit 58b3d09d5d

View File

@@ -439,7 +439,7 @@ const onLocateDeviceTree = async () => {
activeTab.value = deviceType;
// 展开选择的车站
expandedKeys.value = [selectedStationCode.value];
expandedKeys.value.push(selectedStationCode.value);
// 当选择录像机时,如果不是集群,进一步展开该录像机所在的集群节点
if (deviceType === DEVICE_TYPE_LITERALS.ndmNvr) {