From 76fc945194a915d3609e7fb9d577de5830df84a4 Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Thu, 3 Jul 2025 15:10:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BE=A7=E8=BE=B9=E9=AB=98?= =?UTF-8?q?=E4=BA=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SetLeftMenu.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/SetLeftMenu.vue b/src/components/SetLeftMenu.vue index 3e9c9a7..1eb2a89 100644 --- a/src/components/SetLeftMenu.vue +++ b/src/components/SetLeftMenu.vue @@ -10,7 +10,7 @@ {{ item.name }}
{{ item1.name }}
+ @click="setActiveCur(item1.desc, item,index)" :key="item1.name">{{ item1.name }} @@ -186,7 +186,8 @@ export default { activeArea(type) { console.log(type); }, - setActiveCur(dom, item) { + setActiveCur(dom, item,index) { + this.curIndex = index; if (item.path && this.$route.path !== item.path) { this.$router.push(item.path); store.commit('SET_PAGETITLE', item.name);