我也遇到这个报错,会不会是手机系统版本太低的问题
真机调试报MiniProgramError U.createEvent is function错误?以前小程序真机调试均正常,现在真机调试总是报U.createEvent is not a function TypeError: U.createEvent is not a function错误,[图片]
2021-04-16[图片] https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801?highLine=%25E8%258E%25B7%25E5%258F%2596%25E7%2594%25A8%25E6%2588%25B7%25E7%259A%2584%25E5%25A4%25B4%25E5%2583%258F%25E6%2598%25B5%25E7%25A7%25B0%25E4%25B8%25BA%25E4%25BB%2580%25E4%25B9%2588%25E8%258E%25B7%25E5%258F%2596%25E4%25B8%258D%25E5%2588%25B0 原来是官方接口变了。。。
用button获取用户的头像昵称为什么获取不到?微信开发工具 stable 1.05.2103190 macos系统 <button open-type="getUserInfo" bindgetuserinfo="onGotUserInfo">点击登录</button> onGotUserInfo: function (e) { console.log(e); } [图片] 用安卓真机测试也是一样,获取不到昵称地址等信息
2021-04-09