From 8b3009427252610e3ca6487fc080f057244114a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Mon, 28 Jul 2025 11:02:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/productInfo.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/productInfo.vue b/src/views/productInfo.vue index 211a07d..e077276 100644 --- a/src/views/productInfo.vue +++ b/src/views/productInfo.vue @@ -29,7 +29,7 @@
产品图示
-
+
@@ -91,13 +91,14 @@ export default { }, watch: { '$route'() { - this.getData() + console.log('$route') + this.getContentList() } }, methods: { getContentList(id) { getProductCenterProductInfos({ - configTypeId: id, + configTypeId: this.$route.query.id, // parentId: 0 }).then(e => { this.contentList = e.data.filter(v => v.configModal === '13').sort((a, b) => a.productInfoOrder - b.productInfoOrder)?.[0] @@ -122,6 +123,7 @@ export default { this.tabsList = e.rows this.configTypeId = e.rows?.[0]?.configTypeId if (e.rows?.[0]?.configTypeId) { + console.log('getContentList') this.getContentList(e.rows?.[0]?.configTypeId) } else { this.contentList = []