Explorar o código

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

RuoYi %!s(int64=2) %!d(string=hai) anos
pai
achega
882f49144f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/store/modules/app.js

+ 1 - 1
src/store/modules/app.js

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