From b7987218c0407dde840427605aed548fc62150a3 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Fri, 22 Mar 2024 11:04:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9D=9E=E5=B7=A6=E4=BE=A7=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E6=97=B6=EF=BC=8CHeader=20=E9=83=BD=E6=98=AF=20fixed?= =?UTF-8?q?=20=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/components/Settings/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) })