From 8677a0d69c5fb7baeda0aa315d73bbfc272d31ab Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 27 二月 2025 17:34:03 +0800 Subject: [PATCH] 1. 新增数据产品模块(编写中) --- 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