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,6 +170,7 @@ export default { | ||
| 170 | * @param {Object} item [数据对象] | 170 | * @param {Object} item [数据对象] |
| 171 | */ | 171 | */ |
| 172 | toDetail (item) { | 172 | toDetail (item) { |
| 173 | + console.log(item.id); | ||
| 173 | if (this.isCNLive.value) { | 174 | if (this.isCNLive.value) { |
| 174 | // 跳转封装 | 175 | // 跳转封装 |
| 175 | if (typeof this.$parent.gotoDetail === 'function') { | 176 | if (typeof this.$parent.gotoDetail === 'function') { |
| @@ -177,7 +178,7 @@ export default { | @@ -177,7 +178,7 @@ export default { | ||
| 177 | // 设置跳转参数 | 178 | // 设置跳转参数 |
| 178 | let params = { | 179 | let params = { |
| 179 | type: '5', | 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 | shop_type: '' | 182 | shop_type: '' |
| 182 | }; | 183 | }; |
| 183 | 184 |