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