前端-胡立永 2 weeks ago
parent
commit
aebe9c4cbe
2 changed files with 7 additions and 2 deletions
  1. +5
    -2
      mixins/configList.js
  2. +2
    -0
      pages_order/product/productDetail.vue

+ 5
- 2
mixins/configList.js View File

@ -52,7 +52,11 @@ export default {
title : this.configList.logo_name,
}
if(this.userInfo.id){
o.path = this.Gshare.path + '?shareId=' + this.userInfo.id
if(this.Gshare.path.includes('?')){
o.path += '&shareId=' + this.userInfo.id
}else{
o.path += '?shareId=' + this.userInfo.id
}
}
return o
},
@ -60,7 +64,6 @@ export default {
if (query.shareId) {
uni.setStorageSync('shareId', query.shareId)
}
console.log(`uni.setStorageSync('shareId', ${query.shareId})`);
},
methods: {
}

+ 2
- 0
pages_order/product/productDetail.vue View File

@ -100,6 +100,8 @@
if(args.id) {
this.id = args.id
this.getProductDetail(args.id)
//
// this.Gshare.path = `/pages_order/product/productDetail?id=${args.id}`
}
},
methods: {


Loading…
Cancel
Save