From ff62a9d9e4da6174ed57dc94d6b83bf17163d715 Mon Sep 17 00:00:00 2001 From: JIANG Date: Tue, 30 Dec 2025 15:27:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=BA=A7=E5=B1=9E=E6=80=A7=E4=B8=BA?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E5=B1=9E=E6=80=A7=E6=97=B6=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/OlMap/Controls/Timeline.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/OlMap/Controls/Timeline.tsx b/src/app/OlMap/Controls/Timeline.tsx index 32080a8..5ec9b98 100644 --- a/src/app/OlMap/Controls/Timeline.tsx +++ b/src/app/OlMap/Controls/Timeline.tsx @@ -109,7 +109,7 @@ const Timeline: React.FC = ({ let nodePromise: Promise | null = null; let linkPromise: Promise | null = null; // 检查node缓存 - if (junctionProperties !== "") { + if (junctionProperties !== "" && junctionProperties !== "elevation") { const nodeCacheKey = `${query_time}_${junctionProperties}_${schemeName}`; if (nodeCacheRef.current.has(nodeCacheKey)) { nodeRecords = nodeCacheRef.current.get(nodeCacheKey)!; @@ -128,7 +128,7 @@ const Timeline: React.FC = ({ } // 检查link缓存 - if (pipeProperties !== "") { + if (pipeProperties !== "" && pipeProperties !== "diameter") { const linkCacheKey = `${query_time}_${pipeProperties}_${schemeName}`; if (linkCacheRef.current.has(linkCacheKey)) { linkRecords = linkCacheRef.current.get(linkCacheKey)!;