Browse Source

Pull request #1481: 无JIRA任务 bugfix

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '5a28fcd0e79b79bdd916ee3f04e59e4dc5add5a0':
  bugfix
master
guy 4 years ago
parent
commit
df333020a0
  1. 3
      src/base/single/text.js

3
src/base/single/text.js

@ -106,6 +106,9 @@
var o = this.options; var o = this.options;
var text = BI.isFunction(o.text) ? o.text() : o.text; var text = BI.isFunction(o.text) ? o.text() : o.text;
text = BI.isKey(text) ? text : o.value; text = BI.isKey(text) ? text : o.value;
if (!BI.isKey(text)) {
return "";
}
return BI.Text.formatText(text + ""); return BI.Text.formatText(text + "");
}, },

Loading…
Cancel
Save