Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 19:09:21 +08:00

fix: 非左侧模式时,Header 都是 fixed 布局

This commit is contained in:
pany 2024-03-22 11:04:37 +08:00
parent f528bde687
commit b7987218c0

View File

@ -44,7 +44,7 @@ const switchSettings = {
/** 非左侧模式时Header 都是 fixed 布局 */
watchEffect(() => {
isLeft.value && (fixedHeader.value = true)
!isLeft.value && (fixedHeader.value = true)
})
</script>