Skip to content

Commit

Permalink
docs(useuserinfo): addon useUserInfo nickname avatar link
Browse files Browse the repository at this point in the history
  • Loading branch information
innocces committed Oct 29, 2023
1 parent bcc6472 commit 3db07ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/hooks/src/useUserInfo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ group:

**getUserInfo**会默认在方法内检查授权. 若未授权会直接返回错误.
**getUserProfile**获取到的数据不包含**openId****unionId**
此外要注意获取用户信息接口经常会调整。所以内置逻辑不作为保证完全成功的依据
此外要注意获取用户信息接口经常会调整。所以内置逻辑不作为保证完全成功的依据
[**用户头像昵称获取规则已调整**](https://developers.weixin.qq.com/community/develop/doc/00022c683e8a80b29bed2142b56c01), 开发者若需要在界面中展示用户的头像昵称信息,可以通过`<open-data>`组件进行渲染,该组件无需用户确认

:::

Expand Down

1 comment on commit 3db07ec

@vercel
Copy link

@vercel vercel bot commented on 3db07ec Oct 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.