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);