vxe-table 3.13.31 → 3.13.33

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.
@@ -2028,10 +2028,8 @@ function parseColumns($xeTable, isReset) {
2028
2028
  const props = $xeTable;
2029
2029
  const reactData = $xeTable;
2030
2030
  const internalData = $xeTable;
2031
- const {
2032
- showOverflow
2033
- } = props;
2034
- const rowOpts = $xeTable.computeRowOpts;
2031
+ // const { showOverflow } = props
2032
+ // const rowOpts = $xeTable.computeRowOpts
2035
2033
  const leftList = [];
2036
2034
  const centerList = [];
2037
2035
  const rightList = [];
@@ -2108,28 +2106,28 @@ function parseColumns($xeTable, isReset) {
2108
2106
  rightList
2109
2107
  });
2110
2108
  if (scrollXLoad) {
2111
- if (showOverflow) {
2112
- if (!rowOpts.height) {
2113
- const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false);
2114
- if (errColumn) {
2115
- (0, _log.errLog)('vxe.error.errProp', [`column[field="${errColumn.field}"].show-overflow=false`, 'show-overflow=true']);
2116
- }
2117
- }
2118
- }
2119
- if (process.env.NODE_ENV === 'development') {
2120
- // if (props.showHeader && !props.showHeaderOverflow) {
2121
- // warnLog('vxe.error.reqProp', ['show-header-overflow'])
2122
- // }
2123
- // if (props.showFooter && !props.showFooterOverflow) {
2124
- // warnLog('vxe.error.reqProp', ['show-footer-overflow'])
2125
- // }
2126
- if (props.spanMethod) {
2127
- (0, _log.warnLog)('vxe.error.scrollErrProp', ['span-method']);
2128
- }
2129
- if (props.footerSpanMethod) {
2130
- (0, _log.warnLog)('vxe.error.scrollErrProp', ['footer-span-method']);
2131
- }
2132
- }
2109
+ // if (showOverflow) {
2110
+ // if (!rowOpts.height) {
2111
+ // const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
2112
+ // if (errColumn) {
2113
+ // errLog('vxe.error.errProp', [`column[field="${errColumn.field}"].show-overflow=false`, 'show-overflow=true'])
2114
+ // }
2115
+ // }
2116
+ // }
2117
+ // if (process.env.NODE_ENV === 'development') {
2118
+ // if (props.showHeader && !props.showHeaderOverflow) {
2119
+ // warnLog('vxe.error.reqProp', ['show-header-overflow'])
2120
+ // }
2121
+ // if (props.showFooter && !props.showFooterOverflow) {
2122
+ // warnLog('vxe.error.reqProp', ['show-footer-overflow'])
2123
+ // }
2124
+ if (props.spanMethod) {
2125
+ (0, _log.warnLog)('vxe.error.scrollErrProp', ['span-method']);
2126
+ }
2127
+ if (props.footerSpanMethod) {
2128
+ (0, _log.warnLog)('vxe.error.scrollErrProp', ['footer-span-method']);
2129
+ }
2130
+ // }
2133
2131
  if (isReset) {
2134
2132
  const {
2135
2133
  visibleSize
@@ -9841,7 +9839,7 @@ const Methods = {
9841
9839
  } = reactData;
9842
9840
  const leftFixedWidth = $xeTable.computeLeftFixedWidth;
9843
9841
  const rightFixedWidth = $xeTable.computeRightFixedWidth;
9844
- if (!(scrollYLoad || leftFixedWidth || rightFixedWidth || expandColumn)) {
9842
+ if (!(leftFixedWidth || rightFixedWidth || expandColumn)) {
9845
9843
  return;
9846
9844
  }
9847
9845
  const {