From de6fd089b37613808e5a3bef38ecc0761f7456e0 Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期日, 02 三月 2025 22:07:47 +0800
Subject: [PATCH] AOD数据产品

---
 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