绿满眶商城微信小程序-uniapp
zxl
1 天以前 883630c60e9a941d6cf721cfb4b9160ab406a7dd
pages/product/goods.vue
@@ -572,6 +572,13 @@
      this.actionParam.shareId = options.shareId;
      this.actionParam.joinType = 'SHARE'
      console.log('触发onLoad')
      uni.setStorage({
         key: 'shareId',
         data: options.shareId,
         success: function () {
            console.log('缓存shareId成功');
         }
      });
   }
   this.actionParam.pageParams = JSON.stringify(options)
     if(options.q){
@@ -620,6 +627,7 @@
     getSessionId().then(res=>{
        this.pageSessionNo = res.data.data
      this.actionParam.sessionId = this.pageSessionNo
      this.actionParam.sessionId = res.data.data
        if(this.pageSessionNo){
        let   param = Object.assign({}, this.actionParam);
           userAction(param)