pages/prize/PrizeDetail/PrizeDetail.vue
@@ -267,6 +267,23 @@ this.actionParam.shareId = option.shareId; this.actionParam.joinType = 'SHARE' console.log('触发onLoad') uni.setStorage({ key: 'shareId', data: option.shareId, success: function () { console.log('缓存shareId成功'); } }); } const shareId = uni.getStorageSync("shareId"); if(shareId){ let param = { addType:"SHARE_USER_REGISTRY", extend:"", } let extend = {shareId:shareId} param.extend = JSON.stringify(extend) addPrizeNum(param); } this.actionParam.pageParams = JSON.stringify(option)