@zat-design/sisyphus-react 3.9.4-beta.6 → 3.9.4-beta.8

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.
@@ -155,9 +155,11 @@ export var formatColumn = function formatColumn(_ref2) {
155
155
  index: index
156
156
  });
157
157
  if (_diffResult === 'changed') {
158
+ _isAddCell = false;
158
159
  otherProps.isChanged = true;
159
160
  }
160
161
  if (_diffResult === 'same') {
162
+ _isAddCell = false;
161
163
  otherProps.isChanged = false;
162
164
  }
163
165
  if (_diffResult === 'add') {
@@ -19,7 +19,7 @@ export interface ProTableSummaryProps {
19
19
  fixed?: boolean;
20
20
  }
21
21
  export interface ProTableColumn extends Omit<ColumnType<any>, 'dataIndex'> {
22
- dataIndex: string | string[];
22
+ dataIndex?: string | string[];
23
23
  width?: number | string;
24
24
  minWidth?: number;
25
25
  valueType?: ProTableValueType;
@@ -161,9 +161,11 @@ var formatColumn = exports.formatColumn = function formatColumn(_ref2) {
161
161
  index: index
162
162
  });
163
163
  if (_diffResult === 'changed') {
164
+ _isAddCell = false;
164
165
  otherProps.isChanged = true;
165
166
  }
166
167
  if (_diffResult === 'same') {
168
+ _isAddCell = false;
167
169
  otherProps.isChanged = false;
168
170
  }
169
171
  if (_diffResult === 'add') {
@@ -19,7 +19,7 @@ export interface ProTableSummaryProps {
19
19
  fixed?: boolean;
20
20
  }
21
21
  export interface ProTableColumn extends Omit<ColumnType<any>, 'dataIndex'> {
22
- dataIndex: string | string[];
22
+ dataIndex?: string | string[];
23
23
  width?: number | string;
24
24
  minWidth?: number;
25
25
  valueType?: ProTableValueType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.9.4-beta.6",
3
+ "version": "3.9.4-beta.8",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",