jd-opensource / jd-opensource/taro-ui

4月28号之后,AtButton组件内部是否会主动调整接口为getUserProfile来实现获取用户信息

Open
#1,331 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

**这个功能解决了什么问题?**
微信官方调整:https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801
请问通过taro-ui官方组件库的AtButton组件,getUserInfo按钮类型(获取到用户信息),在微信官方4月28号调整getUserInfo接口返回的信息之后,AtButton组件内部会做兼容吗?
本人指的兼容是:AtButton组件内部是否会主动调整接口为getUserProfile来实现获取用户信息
还是说以后都不会做兼容,4月28号之后通过以下方式(openType='getUserInfo)获取用户信息,只能拿到匿名的用户信息?
授权微信用户信息`

![image](https://user-images.githubusercontent.com/23288680/115366998-5ed65c00-a1f8-11eb-9d29-e64409ddaf07.png)

**你期望的功能是怎样的?**
AtButton组件内部是兼容接口getUserProfile来实现获取用户信息,而不是只能默认通过getUserInfo获取到匿名的用户信息

**补充信息**
想知道taro-ui官方会不会做兼容,求解答

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.