| | |
| | | <template> |
| | | <div class="top-menu"> |
| | | <el-menu :default-active="activeIndex" mode="horizontal" text-color="#333"> |
| | | <el-menu-item index="0" @click.native="openHome(homeItem)" key="0"> |
| | | <el-menu-item index="0" @click.native="openHome(homeItem)" key="0" v-if="!hideHome"> |
| | | <template slot="title"> |
| | | <i |
| | | style="font-size: 20px !important" |
| | |
| | | ...mapState({ |
| | | showMenu: (state) => state.dataL.showdataL, |
| | | }), |
| | | ...mapGetters(["tagCurrent", "menu"]), |
| | | ...mapGetters(["tagCurrent", "menu", "hideHome"]), |
| | | }, |
| | | methods: { |
| | | openHome(itemHome) { |