ZZJ
2022-04-02 45faaf27722588e92050e2e3eace9b3704377048
src/views/connectUs/index.vue
@@ -8,7 +8,7 @@
          class="navItem"
          :key="index"
          :class="{ active: activeNav == index }"
          @click="activeNav = index"
          @click="jump(index)"
        >
          {{ item }}
        </div>
@@ -31,6 +31,14 @@
  components: {
    consult,
  },
  methods: {
    jump(index) {
      this.activeNav = index;
      if (index == 0) {
        this.$router.push("/");
      }
    },
  },
};
</script>