in order to optimize the user experience, the development method of using the wx.getUserInfo interface to directly pop up the authorization box will gradually no longer be supported.


detailwx.getUserInfo
mpvuebindgetuserinfo

:node_modulesindex.js


:onGetUserInfocreatedmounted
my console.log () did not return the result, and it is useless to put it in methods



