@kdcloudjs/kdesign 1.8.37 → 1.8.38

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/kdesign.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.8.37
3
+ * @kdcloudjs/kdesign v1.8.38
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -37225,7 +37225,8 @@ function getApi(pipelineRef) {
37225
37225
  var isRtl = direction === 'rtl';
37226
37226
  var pipeline = pipelineRef.current;
37227
37227
  var tableBodyContainer = (_pipeline$ref3 = pipeline.ref) === null || _pipeline$ref3 === void 0 ? void 0 : _pipeline$ref3.current.domHelper.tableBody;
37228
- var tableScroll = (_pipeline$ref4 = pipeline.ref) === null || _pipeline$ref4 === void 0 ? void 0 : _pipeline$ref4.current.domHelper.stickyScroll;
37228
+ var tableScroll = (_pipeline$ref4 = pipeline.ref) === null || _pipeline$ref4 === void 0 ? void 0 : _pipeline$ref4.current.domHelper.virtual; // 这里要用virtual,不然会和其他地方同时设置scrollLeft时冲突导致bypassSet读取出问题
37229
+
37229
37230
  var columnNodes = Object(_kdcloudjs_table_es_table_utils__WEBPACK_IMPORTED_MODULE_4__["collectNodes"])(pipeline.getColumns(), 'leaf-only');
37230
37231
  var column = columnNodes.find(function (col) {
37231
37232
  return col.code === code;