From 882f49144f56fa508f2b4acd823e6d05154c21a5 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期三, 07 十二月 2022 20:16:44 +0800
Subject: [PATCH] 修复closeSidebar这个方法定义的参数没有解构问题
---
src/store/modules/app.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/store/modules/app.js b/src/store/modules/app.js
index 456ea78..3b26cfe 100644
--- a/src/store/modules/app.js
+++ b/src/store/modules/app.js
@@ -25,7 +25,7 @@
Cookies.set('sidebarStatus', 0)
}
},
- closeSideBar(withoutAnimation) {
+ closeSideBar({ withoutAnimation }) {
Cookies.set('sidebarStatus', 0)
this.sidebar.opened = false
this.sidebar.withoutAnimation = withoutAnimation
--
Gitblit v1.9.3