I want to achieve the function of popping up the authorization window about Wechat user information as soon as I enter Mini Program. In the past, the authorization window will pop up directly by calling wx.getUserInfo, but now Wechat has made changes. Only when using button will the authorization window appear
I want to set a button to be transparent. When the home page load triggers the tap event in js
now the problem is, how to write the trigger event in js? No introduction is found, or can"t you do it in js at all?