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 {