瀏覽代碼

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 () => {