fix: 某些带Vxe表格弹窗 关闭后没有正常清理表格数据的问题

This commit is contained in:
dap
2025-05-09 11:12:24 +08:00
parent 8f71d6a5d9
commit 51fbfcedd2
4 changed files with 9 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ const [BasicDrawer, drawerApi] = useVbenDrawer({
onBeforeClose,
onClosed: handleClosed,
onConfirm: handleConfirm,
destroyOnClose: true,
async onOpenChange(isOpen) {
if (!isOpen) {
return null;