修复清除选择设备后,地图高亮没清除的bug

This commit is contained in:
JIANG
2025-11-06 11:16:41 +08:00
parent bf067aa8eb
commit 2f7c82cf08

View File

@@ -466,6 +466,7 @@ const SCADADeviceList: React.FC<SCADADeviceListProps> = ({
// 清除选择
const handleClearSelection = useCallback(() => {
setInternalSelection([]);
setHighlightFeatures([]);
setPendingSelection([]);
}, []);