gaoluyang
10 天以前 d13487486a3c3c7cf93bd3bda65dcc0d6af51aa2
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
        }