1***@qq.com
1***@qq.com
  • 发布:2019-07-26 10:34
  • 更新:2019-07-26 10:34
  • 阅读:778

uni.share编辑器中使用正常,打包后调不到

分类:uni-app

uni.share({
provider: 'weixin',
scene:'WXSceneSession',
type: 0,
href: this.serverConfig.javaApi + '/share/findShare?type=' + 1 + '&mediaId=' + this.id,
title: '我的分享',
summary: this.info.titleContent,
imageUrl: this.imgUrl,
success: function(res) {
uni.showToast({
title: '已分享',
icon: 'none'
});
// that.recordScore()
},
fail: function(err) {
uni.showToast({
title: '失败'+JSON.stringify(res),
icon: 'none'
});
}
})

问题:该段代码在开发工具中调试正常,打包后调不到这边(manifest.json中模块权限配置的分享已勾选,sdk配置中的appid和appsecret已配置),项目为5+App,期待并感谢您的回复

2019-07-26 10:34 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复