vxe-table 3.18.0-beta.1 → 3.18.0-beta.2
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/es/style.css +1 -1
- package/es/table/src/methods.js +4 -4
- package/es/table/src/table.js +3 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +9 -6
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +4 -4
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +3 -0
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/table/src/methods.ts +4 -4
- package/packages/table/src/table.ts +3 -0
- /package/es/{iconfont.1755232583063.ttf → iconfont.1755245623987.ttf} +0 -0
- /package/es/{iconfont.1755232583063.woff → iconfont.1755245623987.woff} +0 -0
- /package/es/{iconfont.1755232583063.woff2 → iconfont.1755245623987.woff2} +0 -0
- /package/lib/{iconfont.1755232583063.ttf → iconfont.1755245623987.ttf} +0 -0
- /package/lib/{iconfont.1755232583063.woff → iconfont.1755245623987.woff} +0 -0
- /package/lib/{iconfont.1755232583063.woff2 → iconfont.1755245623987.woff2} +0 -0
package/lib/table/src/methods.js
CHANGED
|
@@ -482,6 +482,7 @@ function updateScrollYStatus($xeTable, fullData) {
|
|
|
482
482
|
const {
|
|
483
483
|
treeConfig
|
|
484
484
|
} = props;
|
|
485
|
+
const $xeGanttView = internalData.xeGanttView;
|
|
485
486
|
const virtualYOpts = $xeTable.computeVirtualYOpts;
|
|
486
487
|
const treeOpts = $xeTable.computeTreeOpts;
|
|
487
488
|
const {
|
|
@@ -491,6 +492,9 @@ function updateScrollYStatus($xeTable, fullData) {
|
|
|
491
492
|
// 如果gt为0,则总是启用
|
|
492
493
|
const scrollYLoad = (transform || !treeConfig) && !!virtualYOpts.enabled && virtualYOpts.gt > -1 && (virtualYOpts.gt === 0 || virtualYOpts.gt < allList.length);
|
|
493
494
|
reactData.scrollYLoad = scrollYLoad;
|
|
495
|
+
if ($xeGanttView) {
|
|
496
|
+
$xeGanttView.updateScrollYStatus(scrollYLoad);
|
|
497
|
+
}
|
|
494
498
|
return scrollYLoad;
|
|
495
499
|
}
|
|
496
500
|
/**
|
|
@@ -12169,7 +12173,6 @@ const Methods = {
|
|
|
12169
12173
|
elemStore,
|
|
12170
12174
|
fullColumnIdData
|
|
12171
12175
|
} = internalData;
|
|
12172
|
-
const $xeGanttView = internalData.xeGanttView;
|
|
12173
12176
|
const mouseOpts = $xeTable.computeMouseOpts;
|
|
12174
12177
|
const tableBody = $xeTable.$refs.refTableBody;
|
|
12175
12178
|
const tableBodyElem = tableBody ? tableBody.$el : null;
|
|
@@ -12234,9 +12237,6 @@ const Methods = {
|
|
|
12234
12237
|
if (isScrollXBig && mouseOpts.area) {
|
|
12235
12238
|
(0, _log.errLog)('vxe.error.notProp', ['mouse-config.area']);
|
|
12236
12239
|
}
|
|
12237
|
-
if ($xeGanttView) {
|
|
12238
|
-
$xeGanttView.updateScrollXSpace();
|
|
12239
|
-
}
|
|
12240
12240
|
return $xeTable.$nextTick(() => {
|
|
12241
12241
|
updateStyle($xeTable);
|
|
12242
12242
|
});
|