Commit 3318d76b by ming4762 Committed by GitHub

perf: improve `destroyOnClose` for VbenModal (#5964)

1 parent 8f3881ea
...@@ -186,7 +186,7 @@ const getAppendTo = computed(() => { ...@@ -186,7 +186,7 @@ const getAppendTo = computed(() => {
}); });
const getForceMount = computed(() => { const getForceMount = computed(() => {
return !unref(destroyOnClose); return !unref(destroyOnClose) && unref(firstOpened);
}); });
function handleClosed() { function handleClosed() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!