Skip to content

Commit

Permalink
fix: 修复强制刷新组件时刷新组件size元素id传错问题 (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
751848178 authored Jun 21, 2023
1 parent 3fb0854 commit ea2dc74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function WaterfallFlowItem<TRecord extends BaseRecord>({
onRemove(item)
})

const forceResize = useForceResize(`#${id}`, onItemResize)
const forceResize = useForceResize(`#${contentId}`, onItemResize)

const child = useMemo(() => {
if (typeof renderItem !== 'function') {
Expand Down

0 comments on commit ea2dc74

Please sign in to comment.