From 8b97a0c09b65a55bae0eb8875dd58c2b101cb08c Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期二, 17 十二月 2024 14:26:23 +0800
Subject: [PATCH] 优化TopNav内链菜单点击没有高亮(IB8WHJ)
---
src/store/modules/app.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/store/modules/app.js b/src/store/modules/app.js
index fc34125..3b26cfe 100644
--- a/src/store/modules/app.js
+++ b/src/store/modules/app.js
@@ -1,6 +1,5 @@
import Cookies from 'js-cookie'
-
const useAppStore = defineStore(
'app',
{
@@ -26,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