From 68e6afe2bc6ce68b341e7dccff4bd1b0e5f2c905 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 04 Feb 2026 13:58:41 +0800
Subject: [PATCH] feat:调整

---
 packages/utils/map/MapTooltip.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/packages/utils/map/MapTooltip.js b/packages/utils/map/MapTooltip.js
index 4e07abf..73565a4 100644
--- a/packages/utils/map/MapTooltip.js
+++ b/packages/utils/map/MapTooltip.js
@@ -38,6 +38,10 @@
 
 	move(position) {
 		if (!this.tooltipEl || !position) return
+		if (!this.isVisible) {
+			this.tooltipEl.style.display = 'block'
+			this.isVisible = true
+		}
 		const width = this.container?.clientWidth ?? 0
 		const height = this.container?.clientHeight ?? 0
 		if (!width || !height || position.x < 0 || position.y < 0 || position.x > width || position.y > height) {

--
Gitblit v1.9.3