From e5c872493cd9e3a549bbc2f98b8fff3f7595af4b Mon Sep 17 00:00:00 2001 From: jiangAB Date: Thu, 26 Feb 2026 17:26:20 +0800 Subject: [PATCH] Update cesiumMap.vue --- public/map/components/cesiumMap.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/map/components/cesiumMap.vue b/public/map/components/cesiumMap.vue index 51f172e..45c938f 100644 --- a/public/map/components/cesiumMap.vue +++ b/public/map/components/cesiumMap.vue @@ -508,7 +508,7 @@ onMounted(async () => { ...foundShorePower, storePowerInstance: xelectricalBoxModel, storePowerId: item.id, - status: item.storePowerStatus == '在⽤' ? 1 : 0 + status: item.status === 3 }); } @@ -848,7 +848,7 @@ onMounted(async () => { return [mainPosition, targetPosition]; }, false), width: 3, - material: createFlowMaterial(0), + material: createFlowMaterial(entityItem.status), // 启用深度测试,使线条能够被地形遮挡 enableDepthTest: true }