From db4ed65e1d7d43a10b1315cd8fa1f97984555016 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期四, 02 六月 2022 18:30:11 +0800 Subject: [PATCH] 算力管理过滤设备 --- src/views/personalCenter/components/Content.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/personalCenter/components/Content.vue b/src/views/personalCenter/components/Content.vue index a884994..3d65390 100644 --- a/src/views/personalCenter/components/Content.vue +++ b/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> -- Gitblit v1.8.0