From b5dbf326cb0e51bee1c766dad61f6cd898615b84 Mon Sep 17 00:00:00 2001 From: huangweiming Date: Sun, 5 Apr 2026 17:22:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:ifream=E9=93=BE=E6=8E=A5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/index/views/glxtSy/glxtSy.vue | 21 ++++++++++++------- txw-mhzc-web/src/pages/index/views/main.vue | 12 +++++++---- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/txw-mhzc-web/src/pages/index/views/glxtSy/glxtSy.vue b/txw-mhzc-web/src/pages/index/views/glxtSy/glxtSy.vue index 0a0d60d..8daecc9 100644 --- a/txw-mhzc-web/src/pages/index/views/glxtSy/glxtSy.vue +++ b/txw-mhzc-web/src/pages/index/views/glxtSy/glxtSy.vue @@ -115,7 +115,7 @@ export default { title: '绿色交易', icon: 'user', name: 'lsjy', - },{ + }, { id: 'zzjggl', title: '质证结果管理', icon: 'user', @@ -152,14 +152,19 @@ export default { }; }, created() { + + + }, + activated() { + console.log("glxtSy.vue,created==>", this.$route) // this.initView(); - // const activeCompo = this.$route.query.activeCompo; - // if (activeCompo) { - // this.changeHandler(activeCompo); - // } - - this.gotoPage(this.cdList[0].id); - + let cdId = this.cdList[0].id; + const activeCompo = this.$route.query.activeCompo; + if (activeCompo) { + // this.changeHandler(activeCompo); + cdId = activeCompo; + } + this.gotoPage(cdId); }, methods: { gotoPage(menuId) { diff --git a/txw-mhzc-web/src/pages/index/views/main.vue b/txw-mhzc-web/src/pages/index/views/main.vue index 8257464..8036047 100644 --- a/txw-mhzc-web/src/pages/index/views/main.vue +++ b/txw-mhzc-web/src/pages/index/views/main.vue @@ -1,7 +1,7 @@