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) }) },