diff --git a/changelog.md b/changelog.md index 03776318e5..eccb28b37e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ # 更新日志 2.0(2020-11) +- 增加纯文本组件bi.pure_text - store支持webworker,引入多线程机制 - 修复了Popover小屏幕上看不完整的问题 - 颜色选择器支持输入16进制颜色编号 diff --git a/src/base/single/text.pure.js b/src/base/single/text.pure.js index 0a86e73ebe..eb7f6e3238 100644 --- a/src/base/single/text.pure.js +++ b/src/base/single/text.pure.js @@ -35,7 +35,7 @@ setText: function (text) { this.options.text = BI.isNotNull(text) ? text : ""; - this.text.element.__textKeywordMarked__(this._getShowText()); + this.element.__textKeywordMarked__(this._getShowText()); } }); BI.shortcut("bi.pure_text", BI.PureText);