feat: 分享bug

This commit is contained in:
2025-11-25 20:54:41 +08:00
parent dc0d843969
commit da5f474d8a
6 changed files with 10 additions and 17 deletions
+3 -2
View File
@@ -315,8 +315,9 @@ export default {
success:(res1=>{
if(res1.confirm){
let arr = res.data.split('?id=');
console.log('arr')
_this.curId = Number(arr[1]);
console.log('arr',arr, Number(arr[1]))
const id = arr[1].split(' ');
_this.curId = Number(id[0]);
_this.getShop();
uni.setClipboardData({
data: '',
@@ -610,7 +610,7 @@ export default {
},
getValue,
onShare(index){
let tmp = `【信任桥】消费共享数字化权益 ${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id} ${this.orderInfo.name}`;
let tmp = `【信任桥】消费共享数字化权益 ${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id} ${this.orderInfo.name}`;
if(index == 0){
// WXSceneTimeline
uni.share({