mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-11 03:13:14 +08:00
perf: improve destroyOnClose for VbenModal (#5964)
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user