src/store/modules/app.js
@@ -5,7 +5,7 @@ { state: () => ({ sidebar: { opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true, opened: true, withoutAnimation: false, hide: false }, @@ -14,6 +14,7 @@ }), actions: { toggleSideBar(withoutAnimation) { console.log('toggleSideBar', withoutAnimation) if (this.sidebar.hide) { return false }