fix: 定位设备树时保留原有的展开状态
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user