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)!;