调用wx.getUserProfile时报错了?

小程序 文章 2021-03-22 09:41 0 275 全屏看文

调用wx.getUserProfile时报错了?An error was reported when calling wx.getUserProfile?

调用wx.getUserProfile时报错了?

wx.getUserProfile is not a function; [Component] Event Handler Error @ pages/login_test/login_test#bound getUserInfo

wx.getUserProfile is not a function; [Component] Event Handler Error @ pages/login_test/login_test#bound getUserInfo

回答:

维她命系:

更新开发者工具到最新版本

Made in.内江:

你这个是基础库里没有该方法。你基础库调整到2.10.4再试试。

肖雄:我的生活

-EOF-