@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.
- package/dist/components/Table.js +1 -1
- package/dist/interface.d.ts +1 -1
- package/package.json +1 -1
package/dist/components/Table.js
CHANGED
|
@@ -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;
|
package/dist/interface.d.ts
CHANGED
|
@@ -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> {
|