y***@vip.qq.com
y***@vip.qq.com
  • 发布:2021-07-29 14:45
  • 更新:2021-07-29 14:45
  • 阅读:534

【报Bug】iOS 无法唤起微信登录

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 11.4

HBuilderX类型: 正式

HBuilderX版本号: 3.1.22

手机系统: iOS

手机系统版本号: IOS 14

手机厂商: 苹果

手机机型: iphonex

页面类型: nvue

打包方式: 离线

项目创建方式: HBuilderX

示例代码:

uni.getProvider({
service: 'oauth',
success: function (res) {
console.log(res.provider)
if (~res.provider.indexOf('weixin')) {
console.log("微信登录");
uni.login({
provider: 'weixin',
success: (res) => {
console.log(res)

                }  
            }  
        });

操作步骤:

uni.getProvider({
service: 'oauth',
success: function (res) {
console.log(res.provider)
if (~res.provider.indexOf('weixin')) {
console.log("微信登录");
uni.login({
provider: 'weixin',
success: (res) => {
console.log(res)

                }  
            }  
        });

预期结果:

唤起微信

实际结果:

无法唤起微信

bug描述:

uni.login 微信登录点击无法唤起登录

2021-07-29 14:45 负责人:无 分享
已邀请:

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