From 1a2c1d005bf7de2528f73638fb24d31da812aad5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 22 Jun 2021 17:40:13 +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