@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.
- package/es/ProTable/index.js +1 -1
- package/lib/ProTable/index.js +1 -1
- package/package.json +1 -1
package/es/ProTable/index.js
CHANGED
|
@@ -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,
|
package/lib/ProTable/index.js
CHANGED
|
@@ -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,
|