From 0283603627b4bbbd8979b99ab3ede5e7f78814c6 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:34:44 +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, 4 insertions(+), 4 deletions(-) diff --git a/src/views/productInfo.vue b/src/views/productInfo.vue index aa1432a..bdb5cbb 100644 --- a/src/views/productInfo.vue +++ b/src/views/productInfo.vue @@ -9,7 +9,7 @@
技术参数
-
+
{{ i.productInfoDetailTitle }}
@@ -29,7 +29,7 @@
产品图示
-
+
@@ -83,7 +83,7 @@ export default { tabsActive: 0, tabsList: [], configTypeId: 0, - contentList: {} + contentList: [] } }, mounted() { @@ -101,7 +101,7 @@ export default { 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] + this.contentList = e.data?.[0]?.hwProductInfoDetailList.filter(v => v.configModal === '13').sort((a, b) => a.productInfoOrder - b.productInfoOrder)?.[0] console.log(this.contentList) }) },