uni-app uni.share报错-100

uni-app uni.share报错-100

示例代码:

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)
}
})

操作步骤:

  • 调用此方法就会报错

预期结果:

  • 打开微信分享到聊天

实际结果:

  • 报错-100

bug描述:

  • 就一直报错-100,我去看报错码都没有这个值,报错码100都没有更别说-100了,改了无数种方式,试了无数遍,都一直报这个错

更多关于uni-app uni.share报错-100的实战教程也可以访问 https://www.itying.com/category-93-b0.html

1 回复

更多关于uni-app uni.share报错-100的实战教程也可以访问 https://www.itying.com/category-93-b0.html


能有人说一下这个报错码是啥意思吗??

回到顶部