Browse Source

fix: 根据comment修改

master
windy 5 years ago
parent
commit
414775c959
  1. 1
      src/case/trigger/trigger.icon.text.js
  2. 1
      src/case/trigger/trigger.text.js

1
src/case/trigger/trigger.icon.text.js

@ -94,6 +94,7 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, {
setTextCls: function(cls) { setTextCls: function(cls) {
var o = this.options; var o = this.options;
this.text.element.removeClass(o.textCls).addClass(cls); this.text.element.removeClass(o.textCls).addClass(cls);
o.textCls = cls;
}, },
setText: function (text) { setText: function (text) {

1
src/case/trigger/trigger.text.js

@ -58,6 +58,7 @@ BI.TextTrigger = BI.inherit(BI.Trigger, {
setTextCls: function(cls) { setTextCls: function(cls) {
var o = this.options; var o = this.options;
this.text.element.removeClass(o.textCls).addClass(cls); this.text.element.removeClass(o.textCls).addClass(cls);
o.textCls = cls;
}, },
setText: function (text) { setText: function (text) {

Loading…
Cancel
Save