@hi-ui/table 4.5.3 → 4.5.4-alpha.0

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.
@@ -156,7 +156,7 @@ var useColWidth = function useColWidth(_ref) {
156
156
  return child.offsetWidth;
157
157
  }).reduce(function (prev, next) {
158
158
  return prev + next;
159
- }) + thPaddingLeft * 2 + resizableHandlerWidth;
159
+ }, 0) + thPaddingLeft * 2 + resizableHandlerWidth;
160
160
  });
161
161
  setMinColWidth(_minColWidth);
162
162
  });
@@ -144,7 +144,7 @@ var useColWidth = function useColWidth(_ref) {
144
144
  return child.offsetWidth;
145
145
  }).reduce(function (prev, next) {
146
146
  return prev + next;
147
- }) + thPaddingLeft * 2 + resizableHandlerWidth;
147
+ }, 0) + thPaddingLeft * 2 + resizableHandlerWidth;
148
148
  });
149
149
  setMinColWidth(_minColWidth);
150
150
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/table",
3
- "version": "4.5.3",
3
+ "version": "4.5.4-alpha.0",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",