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> @@ -51,7 +51,9 @@ mChange(i) { this.activeIndex = i; }, // 查询列表 gotolist(){ this.mChange(4) } }, }; </script>