@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.
- package/dist/@kdcloudjs/table.css +1 -1
- package/dist/@kdcloudjs/table.js +2 -2
- package/dist/@kdcloudjs/table.js.map +1 -1
- package/dist/@kdcloudjs/table.min.css +1 -1
- package/dist/@kdcloudjs/table.min.js +2 -2
- package/dist/@kdcloudjs/table.min.js.map +1 -1
- package/es/table/pipeline/features/autoFill.js +1 -1
- package/lib/table/pipeline/features/autoFill.js +1 -1
- package/package.json +1 -1
|
@@ -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]
|
|
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]
|
|
141
|
+
return acc + (resizeColumn && resizeColumn[code] || width);
|
|
142
142
|
} else {
|
|
143
143
|
return acc + dfs(col.children);
|
|
144
144
|
}
|