修复代码错误;修复属性查询无时间轴情况下也能查询的问题;修复工具栏定位错误的问题

This commit is contained in:
JIANG
2025-10-20 18:16:28 +08:00
parent f4b91ac4cc
commit 66bdca2c16
5 changed files with 20 additions and 7 deletions

View File

@@ -454,8 +454,8 @@ const Toolbar: React.FC<ToolbarProps> = ({ hiddenButtons }) => {
setComputedProperties({});
}
};
queryComputedProperties();
// 仅当 currentTime 有效时查询
if (currentTime !== -1) queryComputedProperties();
}, [highlightFeature, currentTime, selectedDate]);
// 从要素属性中提取属性面板需要的数据