Showing
1 changed file
with
5 additions
and
3 deletions
@@ -85,11 +85,13 @@ export default { | @@ -85,11 +85,13 @@ export default { | ||
85 | } | 85 | } |
86 | }, | 86 | }, |
87 | goProductList(item) { | 87 | goProductList(item) { |
88 | + let query = {}; | ||
89 | + let key = item.linkType; | ||
90 | + // console.log('===category=='+key); | ||
91 | + query[key] = item.id; | ||
88 | this.$router.push({ | 92 | this.$router.push({ |
89 | name: 'List', | 93 | name: 'List', |
90 | - query: { | ||
91 | - brand: item.id | ||
92 | - }, | 94 | + query, |
93 | }); | 95 | }); |
94 | } | 96 | } |
95 | }, | 97 | }, |
-
Please register or login to post a comment