heyujie
2022-07-18 1a783e0a2068b1a99efb7a078f4a615f68dec18f
src/views/personalCenter/components/Content.vue
@@ -3,7 +3,7 @@
    <LeftMenu @mChange="mChange"> </LeftMenu>
    <div class="right-content">
      <SubAccount v-if="activeIndex == 4"></SubAccount>
      <BasicInfo v-if="activeIndex == 3"></BasicInfo>
      <BasicInfo v-if="activeIndex == 3" @gotolist="gotolist"></BasicInfo>
      <OrderMng v-if="activeIndex == 1"></OrderMng>
    </div>
  </div>
@@ -20,6 +20,9 @@
    window._AMapSecurityConfig = {
      securityJsCode: "768ab79bdc4075aa082bc070c53bb3c4",
    };
    if (this.$route.query && this.$route.query.id) {
      this.activeIndex = this.$route.query.id;
    }
  },
  mounted() {},
  components: {
@@ -51,7 +54,9 @@
    mChange(i) {
      this.activeIndex = i;
    },
    // 查询列表
    gotolist() {
      this.mChange(4);
    },
  },
};
</script>