From 7b8c371ccd1cb1d37ff0a22e234d0821397a953e Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 24 May 2019 14:00:53 +0800 Subject: [PATCH] =?UTF-8?q?BI-45376=20fix:=20=E4=B8=BB=E5=8A=A8=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=A4=9A=E8=A1=8C=E7=9A=84tooltip=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/tip/tip.tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/single/tip/tip.tooltip.js b/src/base/single/tip/tip.tooltip.js index 22c72ace0..84e307299 100644 --- a/src/base/single/tip/tip.tooltip.js +++ b/src/base/single/tip/tip.tooltip.js @@ -47,11 +47,11 @@ BI.Tooltip = BI.inherit(BI.Tip, { hgap: this._const.hgap, items: BI.map(texts, function (i, text) { return { - type: "bi.text", + type: "bi.label", textAlign: "left", whiteSpace: "normal", text: text, - height: 18 + textHeight: 18 }; }) });