使用uni.share api,参数设置朋友圈 scene: "WXSenceTimeline",跳转到微信好友列表
![1***@qq.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/9f3119b80e6b37d744482a7677839ccd.png)
- 发布:2021-11-15 16:15
- 更新:2021-11-16 17:06
- 阅读:522
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 10.14.6
HBuilderX类型: Alpha
HBuilderX版本号: 3.2.14
手机系统: Android
手机系统版本号: Android 11
手机厂商: 小米
手机机型: K40
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
跳转到朋友圈
跳转到朋友圈
实际结果:
跳转到微信好友列表
跳转到微信好友列表
bug描述:
uni.share({
provider: "weixin",
scene: "WXSenceTimeline",
type: 0,
href: that.url,
title: '唯小屋',
summary: '我正在使用唯小屋,赶紧跟我一起来体验!',
imageUrl: imgurl,
success: function(res) {
console.log(JSON.stringify(res));
that.close()
uni.showToast({
title: '分享成功',
icon: 'none'
});
},
fail: function(err) {
console.error('失败', err)
that.close()
uni.showToast({
title: '分享失败',
icon: 'none'
});
}
})
1***@qq.com (作者)
可以了
2021-11-17 14:11
刘超群
你们以前的就是WXSenceTimeline,怎么突然改了?草
2021-11-23 09:04