guy 3 years ago
parent
commit
b2efe664dc
  1. 3
      dist/fix/fix.compact.js

3
dist/fix/fix.compact.js vendored

@ -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);

Loading…
Cancel
Save