修复closeSidebar这个方法定义的参数没有解构问题

master
RuoYi 2 years ago
parent 13503c3289
commit 882f49144f
  1. 2
      src/store/modules/app.js

@ -25,7 +25,7 @@ const useAppStore = defineStore(
Cookies.set('sidebarStatus', 0) Cookies.set('sidebarStatus', 0)
} }
}, },
closeSideBar(withoutAnimation) { closeSideBar({ withoutAnimation }) {
Cookies.set('sidebarStatus', 0) Cookies.set('sidebarStatus', 0)
this.sidebar.opened = false this.sidebar.opened = false
this.sidebar.withoutAnimation = withoutAnimation this.sidebar.withoutAnimation = withoutAnimation

Loading…
Cancel
Save