fix: association block should not close drawer after deleting data (#2717)

This commit is contained in:
katherinehhh 2023-09-26 11:36:45 +08:00 committed by GitHub
parent d7a00d2581
commit 261678dc56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -814,7 +814,7 @@ export const useDestroyActionProps = () => {
service?.refresh?.();
}
if (block !== 'TableField') {
if (block && block !== 'TableField') {
__parent?.service?.refresh?.();
setVisible?.(false);
}