使用getUserProfile如何让scope.userInfo为true?
发布于 5 年前 作者 xiuyingliao 7510 次浏览 来自 官方Issues

使用getUserProfile获取用户授权信息后,如何让scope.userInfo为true,官方的小程序登录,用户信息接口说明文档写的是调用授权接口后,其值就是true,但实际不是这样,官方文档如下:

实际使用效果:

1 回复

两个完全没关联,别用scope.userInfo做判断

回到顶部