vxe-table 3.18.0-beta.2 → 3.18.0-beta.3

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.
@@ -493,7 +493,7 @@ function updateScrollYStatus($xeTable, fullData) {
493
493
  const scrollYLoad = (transform || !treeConfig) && !!virtualYOpts.enabled && virtualYOpts.gt > -1 && (virtualYOpts.gt === 0 || virtualYOpts.gt < allList.length);
494
494
  reactData.scrollYLoad = scrollYLoad;
495
495
  if ($xeGanttView) {
496
- $xeGanttView.updateScrollYStatus(scrollYLoad);
496
+ $xeGanttView.handleUpdateSYStatus(scrollYLoad);
497
497
  }
498
498
  return scrollYLoad;
499
499
  }
@@ -12173,6 +12173,7 @@ const Methods = {
12173
12173
  elemStore,
12174
12174
  fullColumnIdData
12175
12175
  } = internalData;
12176
+ const $xeGanttView = internalData.xeGanttView;
12176
12177
  const mouseOpts = $xeTable.computeMouseOpts;
12177
12178
  const tableBody = $xeTable.$refs.refTableBody;
12178
12179
  const tableBodyElem = tableBody ? tableBody.$el : null;
@@ -12237,6 +12238,9 @@ const Methods = {
12237
12238
  if (isScrollXBig && mouseOpts.area) {
12238
12239
  (0, _log.errLog)('vxe.error.notProp', ['mouse-config.area']);
12239
12240
  }
12241
+ if ($xeGanttView) {
12242
+ $xeGanttView.handleUpdateSXSpace();
12243
+ }
12240
12244
  return $xeTable.$nextTick(() => {
12241
12245
  updateStyle($xeTable);
12242
12246
  });
@@ -12366,7 +12370,7 @@ const Methods = {
12366
12370
  (0, _log.errLog)('vxe.error.notProp', ['mouse-config.area']);
12367
12371
  }
12368
12372
  if ($xeGanttView) {
12369
- $xeGanttView.updateScrollYSpace();
12373
+ $xeGanttView.handleUpdateSYSpace();
12370
12374
  }
12371
12375
  return $xeTable.$nextTick().then(() => {
12372
12376
  updateStyle($xeTable);