From 414775c959a3161c656102618052ada4ae876f0a Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 25 Jul 2019 15:29:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B9=E6=8D=AEcomment=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/trigger/trigger.icon.text.js | 1 + src/case/trigger/trigger.text.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/case/trigger/trigger.icon.text.js b/src/case/trigger/trigger.icon.text.js index 35005606c..4721eefa4 100644 --- a/src/case/trigger/trigger.icon.text.js +++ b/src/case/trigger/trigger.icon.text.js @@ -94,6 +94,7 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, { setTextCls: function(cls) { var o = this.options; this.text.element.removeClass(o.textCls).addClass(cls); + o.textCls = cls; }, setText: function (text) { diff --git a/src/case/trigger/trigger.text.js b/src/case/trigger/trigger.text.js index 80674c815..8d7ffb251 100644 --- a/src/case/trigger/trigger.text.js +++ b/src/case/trigger/trigger.text.js @@ -58,6 +58,7 @@ BI.TextTrigger = BI.inherit(BI.Trigger, { setTextCls: function(cls) { var o = this.options; this.text.element.removeClass(o.textCls).addClass(cls); + o.textCls = cls; }, setText: function (text) {