mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-06 14:53:50 +08:00
修复头部导航栏点击无效的bug
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user