@zat-design/sisyphus-react 3.6.7-beta.1 → 3.6.7-beta.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.
@@ -366,7 +366,7 @@ function ProTable(props) {
366
366
  children: _jsx("div", {
367
367
  className: cls,
368
368
  children: _jsxs(DndWrapper, {
369
- value: _dataSource,
369
+ value: _dataSource !== null && _dataSource !== void 0 ? _dataSource : [],
370
370
  onChange: onDataSourceChange,
371
371
  disabled: false,
372
372
  draggable: draggable,
@@ -370,7 +370,7 @@ function ProTable(props) {
370
370
  children: (0, _jsxRuntime.jsx)("div", {
371
371
  className: cls,
372
372
  children: (0, _jsxRuntime.jsxs)(_components.DndWrapper, {
373
- value: _dataSource,
373
+ value: _dataSource !== null && _dataSource !== void 0 ? _dataSource : [],
374
374
  onChange: onDataSourceChange,
375
375
  disabled: false,
376
376
  draggable: draggable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.6.7-beta.1",
3
+ "version": "3.6.7-beta.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",