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 = []