open-data组件获取不到头像 昵称?

小程序 文章 2022-02-23 15:40 1030 0 全屏看文

AI助手支持GPT4.0

open-data组件获取不到头像 昵称?The open-data component can't get the avatar nickname?

open-data组件获取不到头像 昵称?

<open-data type="userAvatarUrl" class=""></open-data>

<open-data type="userNickName" class="name"></open-data>

分别用这两个组件展示用户头像昵称,有一个户反应头像显示的默认的灰色头像,昵称显示的是 '微信用户',我们也没有复现

ps:该用户在pc端打开小程序正常显示头像昵称

< open data type = "useravatarurl" class = "" > < / Open Data > < open data type = "usernickname" class = "name" > < / Open Data > use these two components to display the user's Avatar nickname respectively. One user responded that the avatar displayed the default gray avatar, and the nickname displayed 'wechat user', and we did not reproduce PS: the user opened the applet on the PC side to display the avatar nickname normally

回答:

Haney Yasuo:

保护协议更新了,现在只能得到灰色头像和微信用户了,你看看小程序团队最近的公告

-EOF-

AI助手支持GPT4.0