+
@@ -83,7 +88,8 @@ export default {
tabsActive: 0,
tabsList: [],
configTypeId: 0,
- contentList: []
+ contentList: {},
+ contentList1: {}
}
},
mounted() {
@@ -101,8 +107,10 @@ export default {
configTypeId: this.$route.query.id,
// parentId: 0
}).then(e => {
- this.contentList = e.data?.[0]?.hwProductInfoDetailList.filter(v => v.configModal === '13').sort((a, b) => a.productInfoOrder - b.productInfoOrder)?.[0]
+ this.contentList = e.data?.[0];
+ this.contentList1 = e.data?.[0]?.hwProductInfoDetailList.filter(v => v.configModel === '13').sort((a, b) => a.productInfoOrder - b.productInfoOrder)
console.log(this.contentList)
+ console.log(this.contentList1)
})
},
getData() {
@@ -183,7 +191,7 @@ export default {
}
.tabr {
- width: calc(50% - 2px);
+ width: 100%;
display: inline-block;
text-align: center;
line-height: 44px;