diff --git a/src/layouts/components/Settings/index.vue b/src/layouts/components/Settings/index.vue index 0f060ba..a932ed2 100644 --- a/src/layouts/components/Settings/index.vue +++ b/src/layouts/components/Settings/index.vue @@ -44,7 +44,7 @@ const switchSettings = { /** 非左侧模式时,Header 都是 fixed 布局 */ watchEffect(() => { - isLeft.value && (fixedHeader.value = true) + !isLeft.value && (fixedHeader.value = true) })