From e2b466acc519efa143c24ae8e5731725c8578659 Mon Sep 17 00:00:00 2001 From: "Jimmy.Chai" Date: Tue, 12 Oct 2021 15:03:47 +0800 Subject: [PATCH] =?UTF-8?q?BI-95335=20fix=EF=BC=9A=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=97=B6=E6=98=BE=E7=A4=BA=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/layer/pane.list.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/case/layer/pane.list.js b/src/case/layer/pane.list.js index a8d4baf82..efeb8c8fb 100644 --- a/src/case/layer/pane.list.js +++ b/src/case/layer/pane.list.js @@ -126,11 +126,12 @@ BI.ListPane = BI.inherit(BI.Pane, { var tipText = context.tipText || ''; if (BI.isNotEmptyString(tipText)) { BI.ListPane.superclass.populate.apply(this, []); + this.setTipText(tipText); } else { BI.ListPane.superclass.populate.apply(this, arguments); this.button_group.populate.apply(this.button_group, arguments); + BI.isEmptyArray(BI.get(arguments, [0], [])) && this.setTipText(o.tipText); } - this.setTipText(tipText || o.tipText); }, empty: function () {