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

master
ming4762 9 months ago committed by GitHub
parent 8f3881eabf
commit 3318d76bab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -186,7 +186,7 @@ const getAppendTo = computed(() => {
});
const getForceMount = computed(() => {
return !unref(destroyOnClose);
return !unref(destroyOnClose) && unref(firstOpened);
});
function handleClosed() {

Loading…
Cancel
Save