From 0a78cb61bfebdfcfe6785dd79753c98b08aab463 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 20 Nov 2020 19:51:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BA=AF=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E7=BB=84=E4=BB=B6bi.pure=5Ftext?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 1 + src/base/single/text.pure.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 03776318e..eccb28b37 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 0a86e73eb..eb7f6e323 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);