在使用小程序wx.getUserProfile接口调用时报错:wx.getUserProfile is not a function 解决办法:在微信开发者工具上打开详情,对调试基础库进行升级 OK了!