mark
2022-10-25 f20a554bdb24e9dfde9dc6a69d78595944f61d15
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,17 @@
  components: {
    consult,
  },
  methods: {
    jump(index) {
      this.activeNav = index;
      if (index == 0) {
        this.$router.push("/");
      }
      if (index == 2) {
        window.open("http://smartai.com/about");
      }
    },
  },
};
</script>