mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-08 07:31:09 +08:00
perf: improve destroyOnClose for VbenModal (#5964)
This commit is contained in:
@@ -186,7 +186,7 @@ const getAppendTo = computed(() => {
|
||||
});
|
||||
|
||||
const getForceMount = computed(() => {
|
||||
return !unref(destroyOnClose);
|
||||
return !unref(destroyOnClose) && unref(firstOpened);
|
||||
});
|
||||
|
||||
function handleClosed() {
|
||||
|
||||
Reference in New Issue
Block a user