About the API of wx.getUserInfo does not actively pop up the authorization box

the api interface that Wechat updated recently cannot pop up automatically using wx.getUserInfo "s api.
only through button"s open-type to actively obtain authorization pop-up window
is there a way to click on button automatically or is there any other way to automatically pop up window as before?


has the landlord solved it? I am temporarily using button


not yet. The official is supposed to protect users, so I moved to

on button.
Menu