From d83a3ab6e99e364d45cf85a5c00367c583ef4e31 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 24 二月 2025 17:15:22 +0800
Subject: [PATCH] Merge branch 'master-temp' of ssh://114.215.109.124:29418/satellite-vue into master-temp

---
 src/views/satellitetelemetry/SatelliteProxy.js |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/views/satellitetelemetry/SatelliteProxy.js b/src/views/satellitetelemetry/SatelliteProxy.js
index 03973ea..39ae4b1 100644
--- a/src/views/satellitetelemetry/SatelliteProxy.js
+++ b/src/views/satellitetelemetry/SatelliteProxy.js
@@ -51,8 +51,19 @@
 }
 
 function clearText(mapViews) {
-  if (mapViews && typeof mapViews.textViews === 'object') {
-    map.remove(mapViews.textViews);
+  if (mapViews) {
+    if (typeof mapViews.dataTxt === 'object') {
+      map.remove(mapViews.dataTxt);      
+    }
+    if (typeof mapViews.dataLayer === 'object') {
+      map.remove(mapViews.dataLayer);      
+    }
+    if (typeof mapViews.rankTxt === 'object') {
+      map.remove(mapViews.rankTxt);      
+    }
+    if (typeof mapViews.rankLayer === 'object') {
+      map.remove(mapViews.rankLayer);      
+    }
   }
 }
 

--
Gitblit v1.9.3