From 7b9a79c32c3b1aaea5f57981b00c1340e139ff49 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 13 Jun 2019 17:24:17 +0800 Subject: [PATCH 1/2] =?UTF-8?q?BI-46267=20fix:=20=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E7=9A=84=E5=88=97=E8=A1=A8=E6=B2=A1=E6=9C=89items=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=B2=A1=E6=9C=89=E5=8F=AF=E9=80=89=E9=A1=B9?= 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, 2 insertions(+) diff --git a/src/case/layer/pane.list.js b/src/case/layer/pane.list.js index 3988517b3..04b325b60 100644 --- a/src/case/layer/pane.list.js +++ b/src/case/layer/pane.list.js @@ -49,6 +49,8 @@ BI.ListPane = BI.inherit(BI.Pane, { calback.apply(self, arguments); op.times === 1 && BI.nextTick(function () { self.loaded(); + // loaded在callback之后, 需要check一下面板状态 + self.check(); }); }); }, From 4570cc2fc4b149538e7b59fd810090a58db9d938 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 13 Jun 2019 17:27:16 +0800 Subject: [PATCH 2/2] update --- 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 04b325b60..28d618285 100644 --- a/src/case/layer/pane.list.js +++ b/src/case/layer/pane.list.js @@ -49,7 +49,7 @@ BI.ListPane = BI.inherit(BI.Pane, { calback.apply(self, arguments); op.times === 1 && BI.nextTick(function () { self.loaded(); - // loaded在callback之后, 需要check一下面板状态 + // callback可能在loading之前执行, check保证显示正确 self.check(); }); });