perf: improve destroyOnClose
for VbenModal (#5964)
This commit is contained in:
parent
8f3881eabf
commit
3318d76bab
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user