修复头部导航栏点击无效的bug

This commit is contained in:
hooray
2020-11-10 17:28:14 +08:00
parent ea1fa8162f
commit 2be24342a9
+1 -1
View File
@@ -14,7 +14,7 @@
<div v-if="item.children && item.children.length !== 0" :key="index" :class="{
'item': true,
'active': index == $store.state.menu.headerActived
}" @click="$store.commit('settings/switchHeader', index)"
}" @click="$store.commit('menu/switchHeaderActived', index)"
>
<svg-icon v-if="item.meta.icon" :name="item.meta.icon" />
<span v-if="item.meta.title">{{ item.meta.title }}</span>