linkmore-design 1.1.22-beta.5 → 1.1.22-beta.6

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.
package/dist/index.umd.js CHANGED
@@ -224351,6 +224351,7 @@
224351
224351
  } else if (expression === 'average') {
224352
224352
  item[key] = sum / item.children.length;
224353
224353
  }
224354
+ // console.log(item)
224354
224355
  });
224355
224356
  }
224356
224357
  }
@@ -225856,7 +225857,9 @@
225856
225857
  autoSizer = _props$autoSizer === void 0 ? false : _props$autoSizer,
225857
225858
  openRowGroup = props.openRowGroup,
225858
225859
  openColGroup = props.openColGroup,
225859
- footer = props.footer;
225860
+ groupHeight = props.groupHeight,
225861
+ footer = props.footer,
225862
+ footerHeight = props.footerHeight;
225860
225863
  var _useState21 = React.useState({
225861
225864
  width: '100%',
225862
225865
  height: '100%'
@@ -225903,7 +225906,10 @@
225903
225906
  }
225904
225907
  // 行列分组的高度
225905
225908
  if (openRowGroup || openColGroup) {
225906
- h -= 102;
225909
+ h -= groupHeight || 102;
225910
+ }
225911
+ if (footer) {
225912
+ h -= footerHeight || 54;
225907
225913
  }
225908
225914
  // safe area
225909
225915
  if (h < 0) {