vue-devui 1.6.8 → 1.6.9

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.
@@ -11230,10 +11230,10 @@ function useDataGrid(props, ctx) {
11230
11230
  scrollYParams.defaultSortRowData = scrollYParams.originRowData;
11231
11231
  bodyContentHeight.value = bodyTotalHeight;
11232
11232
  };
11233
- const initVirtualRowData = (distance = 0) => {
11233
+ const initVirtualRowData = (distance) => {
11234
11234
  scrollYParams.distance = distance;
11235
11235
  scrollYParams.renderCountPerScreen = Math.ceil(scrollRef.value.clientHeight / rowHeight);
11236
- scrollYParams.scrollScaleY = [0, scrollYParams.renderCountPerScreen * rowHeight];
11236
+ scrollYParams.scrollScaleY = [distance, scrollYParams.renderCountPerScreen * rowHeight];
11237
11237
  calcVirtualRowData(scrollYParams);
11238
11238
  };
11239
11239
  const initOriginColumnData = () => {