From 20f3c8d00f3dbb5df3f949ab12612fcede58b735 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sun, 9 Apr 2023 22:50:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20fix(sideBar):=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E7=BD=AE=E5=BA=95=20#1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/t-sidebar.vue | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/src/components/t-sidebar.vue b/src/components/t-sidebar.vue index 39a44e19..4069b8ca 100644 --- a/src/components/t-sidebar.vue +++ b/src/components/t-sidebar.vue @@ -98,11 +98,18 @@ - - - +
+ + + + +
@@ -116,6 +123,7 @@ import { useAppStore } from "../store/modules/app"; const appStore = useAppStore(); const rail = ref(appStore.sidebar.collapse); + const open = computed({ get () { return appStore.getSubmenu(); @@ -135,6 +143,13 @@ function collapse () {