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:
parent
f528bde687
commit
b7987218c0
@ -44,7 +44,7 @@ const switchSettings = {
|
||||
|
||||
/** 非左侧模式时,Header 都是 fixed 布局 */
|
||||
watchEffect(() => {
|
||||
isLeft.value && (fixedHeader.value = true)
|
||||
!isLeft.value && (fixedHeader.value = true)
|
||||
})
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user