From 8dfc008c1106c46ecf5119653219ba5436fc5c11 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 26 Dec 2021 14:17:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/1.pane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/1.pane.js b/src/base/1.pane.js index 630d7cddb..8df568ead 100644 --- a/src/base/1.pane.js +++ b/src/base/1.pane.js @@ -132,7 +132,7 @@ BI.Pane = BI.inherit(BI.Widget, { setTipVisible: function (b) { if (b === true) { this._assertTip(); - this._tipText.setVisible(true); + this._tipText && this._tipText.setVisible(true); } else { this._tipText && this._tipText.setVisible(false); }