From b2efe664dc7b54b37f0c89006dc28d784b720559 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 2 Mar 2021 17:37:02 +0800 Subject: [PATCH] update --- dist/fix/fix.compact.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/fix/fix.compact.js b/dist/fix/fix.compact.js index 727a884b3..b523b5e6c 100644 --- a/dist/fix/fix.compact.js +++ b/dist/fix/fix.compact.js @@ -195,6 +195,9 @@ if (rendered) { var newEls = render && render.call(this); BI.each(childComponents, function (i, childComponent) { + if (childComponent.component instanceof BI.Layout) { + return; // 布局的过滤掉 + } var nextProps = BI.get([newEls], childComponent.path); if (nextProps) { var shouldUpdate = childComponent.component.shouldUpdate && childComponent.component.shouldUpdate(nextProps);