From 21cde3bf2e5dabd5adad9b3f22119235f173a499 Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 21 Jun 2021 15:45:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=AC=AC=E4=B8=80=E4=B8=AA=E5=85=83=E7=B4=A0?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/layer/pane.list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/case/layer/pane.list.js b/src/case/layer/pane.list.js index 28d618285..1b6530355 100644 --- a/src/case/layer/pane.list.js +++ b/src/case/layer/pane.list.js @@ -104,7 +104,7 @@ BI.ListPane = BI.inherit(BI.Pane, { }, removeItemAt: function (indexes) { - indexes = indexes || []; + indexes = BI.isNull(indexes) ? [] : indexes; BI.removeAt(this.options.items, indexes); this.button_group.removeItemAt.apply(this.button_group, arguments); this.check();