吉安感知网项目-前端
shuishen
2026-02-03 89380e6260a75d1d3b94de687ebcc2f50d50659d
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) {