zengh
2021-09-17 049430b1619b44a21c0fae1c86c6e5bcb0b02f03
src/page/index/top/top-menu.vue
@@ -1,7 +1,7 @@
<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"
@@ -117,7 +117,7 @@
    ...mapState({
      showMenu: (state) => state.dataL.showdataL,
    }),
    ...mapGetters(["tagCurrent", "menu"]),
    ...mapGetters(["tagCurrent", "menu", "hideHome"]),
  },
  methods: {
    openHome(itemHome) {