From 7b52f30bc471b7f433eea950f77ecb74a87d867c Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 05 三月 2025 17:33:02 +0800
Subject: [PATCH] 污染溯源模块编写中

---
 src/components/animation/SatelliteAnimation.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/components/animation/SatelliteAnimation.vue b/src/components/animation/SatelliteAnimation.vue
index b3cfaaf..5680a41 100644
--- a/src/components/animation/SatelliteAnimation.vue
+++ b/src/components/animation/SatelliteAnimation.vue
@@ -100,12 +100,19 @@
           const d = data[index];
           // SatelliteProxy.clearText(mapViews);
           // eslint-disable-next-line vue/no-mutating-props
-          that.mapViews.textViews = SatelliteProxy.drawDataText(
+          const { textViews, labelsLayer } = SatelliteProxy.drawDataText(
             that.mapViews.points,
             d,
             that.mapViews.textViews
           );
-          SatelliteProxy.drawColor(that.mapViews.gridViews, d);
+          // eslint-disable-next-line vue/no-mutating-props
+          that.mapViews.textViews = textViews;
+          // eslint-disable-next-line vue/no-mutating-props
+          that.mapViews.labelsLayer = labelsLayer;
+          SatelliteProxy.drawColor({
+            gridViews: that.mapViews.gridViews,
+            gridDataDetail: d
+          });
         }
       );
     },

--
Gitblit v1.9.3