mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-10-15 12:29:01 +08:00
fix: 修复切换主题闪屏问题
This commit is contained in:
parent
6757e47fb1
commit
5457c4e70b
@ -39,6 +39,7 @@ async function toggleDark({ clientX, clientY }) {
|
||||
duration: 500,
|
||||
easing: 'ease-in',
|
||||
pseudoElement: `::view-transition-${isDark.value ? 'old' : 'new'}(root)`,
|
||||
fill: 'both',
|
||||
},
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user