ソースを参照

fix 修复参数遗漏

LiuHao 2 年 前
コミット
f153da4390
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/layout/components/Navbar.vue

+ 1 - 1
src/layout/components/Navbar.vue

@@ -121,7 +121,7 @@ defineExpose({
 })
 
 const toggleSideBar = () => {
-    appStore.toggleSideBar()
+    appStore.toggleSideBar(false)
 }
 
 const logout = async () => {