Browse Source

Pull request #1492: 无JIRA任务 bugfix

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

* commit '8f0d79edf2591e81a338864d74974ed49bdd8c3c':
  bugfix
es6
guy 4 years ago
parent
commit
0f8ccacdcf
  1. 6
      src/base/single/text.js

6
src/base/single/text.js

@ -162,8 +162,10 @@
formatters.push(formatter); formatters.push(formatter);
}; };
BI.Text.formatText = function (text) { BI.Text.formatText = function (text) {
for (var i = 0, len = formatters.length; i < len; i++) { if (formatters.length > 0) {
text = formatters[i](text); for (var i = 0, len = formatters.length; i < len; i++) {
text = formatters[i](text);
}
} }
return text; return text;
}; };

Loading…
Cancel
Save