Prechádzať zdrojové kódy

fix 修复参数遗漏

LiuHao 2 rokov pred
rodič
commit
f153da4390
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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 () => {