uni.share({
provider: 'weixin',
openCustomerServiceChat: true,
corpid: this.appInfo.corpId,
customerUrl: this.appInfo.wechatContactUrl,
fail: err => {
uni.showModal({
content: '打开微信失败!' + JSON.stringify(err),
showCancel: false,
confirmText: '确定'
})
},
});
`` - 发布:2025-11-08 02:26
- 更新:2025-11-08 02:26
- 阅读:13
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
HBuilderX类型: 正式
HBuilderX版本号: 4.85
手机系统: HarmonyOS NEXT
手机系统版本号: HarmonyOS 5.1.0
手机厂商: 华为
手机机型: mate60
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
无
无
预期结果:
无
无
实际结果:
无
无
bug描述:
错误提示:分享图文时,href必填。
我都没传type,默认成了分享图文吗?
ios测试正常拉起。
0 个回复