errsg: "shareAppMessage:fail permission
208 浏览2023年03月26日作者:User7214772061242196026

真机调试,为什么出来这个提示????


        <button class="btn" type="primary" open-type="share" data-channel="video" >开启AR体验</button>
onShareAppMessage: function() {
    console.log('开始分享视频');
    return {
      channel: 'video',
      title: '小程序锚点文案',
      desc: '测试描述',
      extra: {
        //只在抖音可用 且与剪辑模版参数cutTemplateId互斥 
        sticker_id: '',
        abortWhenStickIdUnavailable: false
      },
      success(res) {
       console.log("分享成功", res);
       res.shareWithStickId = '';
      },
      fail(res) {
        console.log("分享失败", res);
      }
    }
  }
最后一次编辑于 2023 年 03 月 26 日
1 条评论

相关文章

专题推荐

热门文章

热门问答