From 64d172717748c383a5c88348037354bffd60f966 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 27 五月 2025 17:52:03 +0800 Subject: [PATCH] 页面样式修改 --- src/store/modules/app.js | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/src/store/modules/app.js b/src/store/modules/app.js index 9a92dd1..eb8a847 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -14,16 +14,7 @@ }), actions: { toggleSideBar(withoutAnimation) { - if (this.sidebar.hide) { - return false - } - this.sidebar.opened = !this.sidebar.opened - this.sidebar.withoutAnimation = withoutAnimation - if (this.sidebar.opened) { - Cookies.set('sidebarStatus', 1) - } else { - Cookies.set('sidebarStatus', 0) - } + return true }, closeSideBar({ withoutAnimation }) { Cookies.set('sidebarStatus', 0) -- Gitblit v1.9.3