@byteluck-fe/model-driven-engine 2.8.0-alpha.12 → 2.8.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -262,9 +262,9 @@ function loop(control, parentId, callback) {
262
262
  // @ts-ignore
263
263
  loop(ctl.children, ctl.id, callback);
264
264
  }
265
- // if (hasHeaderOrFooterControl(item, 'headers')) {
266
- // loop((item.props as any).headers, item.id, callback)
267
- // }
265
+ if (hasHeaderOrFooterControl(item, "headers")) {
266
+ loop(item.props.headers, item.id, callback);
267
+ }
268
268
  if (hasHeaderOrFooterControl(item, "footers")) {
269
269
  loop(item.props.footers, item.id, callback);
270
270
  }