mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:47:10 +00:00
fix(GridCard): column count not work (#2023)
This commit is contained in:
parent
69bbfee67a
commit
77225a4e25
@ -56,7 +56,7 @@ const designerCss = css`
|
||||
|
||||
const InternalGridCard = (props) => {
|
||||
const { columnCount: columnCountProp, pagination } = useProps(props);
|
||||
const { service, _columnCount = defaultColumnCount } = useGridCardBlockContext();
|
||||
const { service, columnCount: _columnCount = defaultColumnCount } = useGridCardBlockContext();
|
||||
const columnCount = columnCountProp || _columnCount;
|
||||
const { run, params } = service;
|
||||
const meta = service?.data?.meta;
|
||||
|
Loading…
Reference in New Issue
Block a user