@magicbe/antd-crud 0.0.56 → 0.0.58

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,7 +155,7 @@ var Table = React.forwardRef(function (_a, ref) {
155
155
  }
156
156
  }
157
157
  return nexts;
158
- }, [props.columns, action]);
158
+ }, [props.columns, actionColumn, action]);
159
159
  var pagination = useMemo(function () {
160
160
  if (_pagination_ === false)
161
161
  return false;
@@ -176,7 +176,7 @@ export interface ContentProps<RecordType = AnyObject> extends Omit<AntdTableProp
176
176
  pagination?: false;
177
177
  drawer?: number | DrawerProps;
178
178
  pageSizeOptions?: PaginationProps["pageSizeOptions"];
179
- actionColumn?: ColumnType<any>;
179
+ actionColumn?: Partial<ColumnType<any>>;
180
180
  }
181
181
  /**主体暴露 */
182
182
  export interface ContentRef<RecordType = AnyObject> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicbe/antd-crud",
3
- "version": "0.0.56",
3
+ "version": "0.0.58",
4
4
  "description": "antd crud table",
5
5
  "author": "wang quan",
6
6
  "private": false,