Browse Source

fix: 根据comment修改

es6
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) {
var o = this.options;
this.text.element.removeClass(o.textCls).addClass(cls);
o.textCls = cls;
},
setText: function (text) {

1
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) {

Loading…
Cancel
Save