diff --git a/packages/core/client/src/block-provider/hooks/index.ts b/packages/core/client/src/block-provider/hooks/index.ts index e72dca4f0..01c837a48 100644 --- a/packages/core/client/src/block-provider/hooks/index.ts +++ b/packages/core/client/src/block-provider/hooks/index.ts @@ -814,7 +814,7 @@ export const useDestroyActionProps = () => { service?.refresh?.(); } - if (block !== 'TableField') { + if (block && block !== 'TableField') { __parent?.service?.refresh?.(); setVisible?.(false); }