perf: improve `destroyOnClose` for VbenModal (#5964)
parent
8f3881eabf
commit
3318d76bab
|
@ -186,7 +186,7 @@ const getAppendTo = computed(() => {
|
|||
});
|
||||
|
||||
const getForceMount = computed(() => {
|
||||
return !unref(destroyOnClose);
|
||||
return !unref(destroyOnClose) && unref(firstOpened);
|
||||
});
|
||||
|
||||
function handleClosed() {
|
||||
|
|
Loading…
Reference in New Issue