From e55ebf07a49b024fe7d2cebc0499bd949c7b55bb Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 17 Jun 2021 18:08:32 +0800
Subject: [PATCH] 工具切换关闭细节调整
---
widgets/profileAnalysis/Widget.js | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/widgets/profileAnalysis/Widget.js b/widgets/profileAnalysis/Widget.js
index 602ea9f..378ff2d 100644
--- a/widgets/profileAnalysis/Widget.js
+++ b/widgets/profileAnalysis/Widget.js
@@ -339,9 +339,16 @@
$("#pro").width(0);
$("#pro").height(0);
})
-
+ this.handlerLine = handlerLine;
+ topic.subscribe("closep", lang.hitch(this, this.closep));
},
-
+ handlerLine: '',
+ closep: function () {
+ $(".jimu-widget-profileAnalysis").hide();
+ this.handlerLine.clear();
+ $("#pro").width(0);
+ $("#pro").height(0);
+ },
onOpen: function () {
},
--
Gitblit v1.9.3