From 25ce610f6ecca7325e7a743dc032c4a76559c63d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 02 Jul 2021 09:10:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap

---
 widgets/digTheEarth/Widget.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/widgets/digTheEarth/Widget.js b/widgets/digTheEarth/Widget.js
index 0288d8d..4cafa8e 100644
--- a/widgets/digTheEarth/Widget.js
+++ b/widgets/digTheEarth/Widget.js
@@ -157,7 +157,9 @@
                 if (that.handlerPolygon.deactivate) {
                     that.handlerPolygon.deactivate();
                 }
-                that.tooltip.setVisible(false);
+                if(that.tooltip.setVisible){
+                    that.tooltip.setVisible(false);
+                }
             },
             onOpen: function () {
 

--
Gitblit v1.9.3