From 981bb9a8b0086987e23599a2d19c16973db83132 Mon Sep 17 00:00:00 2001 From: jiangrui <403209447@qq.com> Date: Thu, 29 Apr 2021 16:55:22 +0800 Subject: [PATCH] v430I --- src/store/modules/app.js | 4 +- src/views/convenience/detail.vue | 3 +- .../dashboard/admin/components/PanelGroup.vue | 61 ++++++++++++++----- 3 files changed, 50 insertions(+), 18 deletions(-) diff --git a/src/store/modules/app.js b/src/store/modules/app.js index 45d89bb..afeaa85 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -16,11 +16,11 @@ const mutations = { if (state.sidebar.opened) { Cookies.set('sidebarStatus', 1) } else { - Cookies.set('sidebarStatus', 0) + Cookies.set('sidebarStatus', 1) } }, CLOSE_SIDEBAR: (state, withoutAnimation) => { - Cookies.set('sidebarStatus', 0) + Cookies.set('sidebarStatus', 1) state.sidebar.opened = false state.sidebar.withoutAnimation = withoutAnimation }, diff --git a/src/views/convenience/detail.vue b/src/views/convenience/detail.vue index 7c6f980..f20fc7b 100644 --- a/src/views/convenience/detail.vue +++ b/src/views/convenience/detail.vue @@ -671,8 +671,9 @@ >