update app.js

This commit is contained in:
不做码农 2022-05-08 15:59:56 +08:00
parent 3c84701f51
commit 75dff4a8fa

View File

@ -17,7 +17,8 @@ const mutations = {
return false; return false;
} }
state.sidebar.opened = !state.sidebar.opened state.sidebar.opened = !state.sidebar.opened
state.sidebar.withoutAnimation = false state.sidebar.withoutAnimation = true
if (state.sidebar.opened) { if (state.sidebar.opened) {
Cookies.set('sidebarStatus', 1) Cookies.set('sidebarStatus', 1)
} else { } else {