uni.share({
provider: "weixin",
scene:type,
type: 5,
title:title,
imageUrl:url,
miniProgram:{
id:"gh_xxxxxxxxxx",
path:path,
type:0,
herf:'xxxxx.com'
},
success:(res)=>{
console.log(res)
},
fail:(res)=>{
console.log(res)
}
})

- 发布:2021-10-29 09:54
- 更新:2021-10-29 09:55
- 阅读:572
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: windows10
HBuilderX类型: 正式
HBuilderX版本号: 3.2.9
手机系统: Android
手机系统版本号: Android 11
手机厂商: 小米
手机机型: 红米k40
页面类型: vue
打包方式: 离线
项目创建方式: HBuilderX
示例代码:
操作步骤:
调用此方法就会报错
调用此方法就会报错
预期结果:
打开微信分享到聊天
打开微信分享到聊天
实际结果:
报错-100
报错-100
bug描述:
就一直报错-100,我去看报错码都没有这个值,报错码100都没有更别说-100了,改了无数种方式,试了无数遍,都一直报这个错
