From a4d58ebd3baa057a8eb6954ceecfadbe6f2f552e Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Fri, 21 Jan 2022 10:09:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=BC=E8=88=AA=E6=A0=8Fsi?= =?UTF-8?q?ngle=E6=A8=A1=E5=BC=8F=E4=B8=8B=E5=B1=95=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/index.vue b/src/layout/index.vue index bcee4942..138f53fb 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -112,7 +112,7 @@ function switchMenu(index) { } &[data-menu-mode="single"] { .sidebar-container { - transform: translateX(calc(var(--g-main-sidebar-width) * -1)); + transform: translateX(calc(var(--g-sub-sidebar-width) * -1)); &.show { transform: translateX(0); }