Commit bdd017ea0f051e7a096cf92c0d41f692c2c2ec52
1 parent
0f1df3e5
商品详情页
Showing
1 changed file
with
2 additions
and
1 deletions
src/pages/goodDetails/goodDetails.vue
| ... | ... | @@ -170,6 +170,7 @@ export default { |
| 170 | 170 | * @param {Object} item [数据对象] |
| 171 | 171 | */ |
| 172 | 172 | toDetail (item) { |
| 173 | + console.log(item.id); | |
| 173 | 174 | if (this.isCNLive.value) { |
| 174 | 175 | // 跳转封装 |
| 175 | 176 | if (typeof this.$parent.gotoDetail === 'function') { |
| ... | ... | @@ -177,7 +178,7 @@ export default { |
| 177 | 178 | // 设置跳转参数 |
| 178 | 179 | let params = { |
| 179 | 180 | type: '5', |
| 180 | - to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId' + item.id + "&uid" + this.getStore("uid"), | |
| 181 | + to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id, | |
| 181 | 182 | shop_type: '' |
| 182 | 183 | }; |
| 183 | 184 | ... | ... |