From 75dff4a8faa503f86a7084e3333bbcb37af8218e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Sun, 8 May 2022 15:59:56 +0800 Subject: [PATCH] update app.js --- src/store/modules/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/store/modules/app.js b/src/store/modules/app.js index 8cad3dc..8e086d7 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -17,7 +17,8 @@ const mutations = { return false; } state.sidebar.opened = !state.sidebar.opened - state.sidebar.withoutAnimation = false + state.sidebar.withoutAnimation = true + if (state.sidebar.opened) { Cookies.set('sidebarStatus', 1) } else {