@kdcloudjs/table 1.1.6-canary.1 → 1.1.6-canary.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.
@@ -119,7 +119,7 @@ function getColumnWidthSum(pipeline) {
119
119
 
120
120
  if (isLeafNode(col) && code !== FILL_COLUMN_CODE) {
121
121
  var resizeColumn = pipeline.getFeatureOptions(COLUMN_SIZE_KEY);
122
- return acc + (resizeColumn && resizeColumn[code]) || width;
122
+ return acc + (resizeColumn && resizeColumn[code] || width);
123
123
  } else {
124
124
  return acc + dfs(col.children);
125
125
  }
@@ -138,7 +138,7 @@ function getColumnWidthSum(pipeline) {
138
138
 
139
139
  if ((0, _utils.isLeafNode)(col) && code !== FILL_COLUMN_CODE) {
140
140
  var resizeColumn = pipeline.getFeatureOptions(_columnResizeWidth.COLUMN_SIZE_KEY);
141
- return acc + (resizeColumn && resizeColumn[code]) || width;
141
+ return acc + (resizeColumn && resizeColumn[code] || width);
142
142
  } else {
143
143
  return acc + dfs(col.children);
144
144
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/table",
3
- "version": "1.1.6-canary.1",
3
+ "version": "1.1.6-canary.2",
4
4
  "description": "金蝶 react table 组件",
5
5
  "title": "table",
6
6
  "keywords": [