收藏
回答

wx.showSharelmageMenu在PC端无法分享?

wx.showSharelmageMenu在PC端无法分享?

MAC版打开小程序:

mac版本:


win:



代码:


// 下载图片

    const res = await app.downloadFile(earlyBirdShareImgs[index]);

    if(typeof recordid === 'undefined' || recordid === '' || recordid === undefined){

      var that =this

      wx.showShareImageMenu({

        path: res.tempFilePath,

        needShowEntrance: true,

        entrancePath: `/pages/clockin/index?activityId=${activityid}&loadType=2`,

        complete:()=>{

          that.setData({dzhPop: false},()=>{

            setTimeout(() => {

              wx.switchTab({

                url: `/pages/index/index?activityId=${activityid}`,

              });

            }, 500);

          })

        }

      })

    }


回答关注问题邀请回答
收藏

1 个回答

  • 智能回答 智能回答 本次回答由AI生成
    03-25
    有用
登录 后发表内容