- cli islogin 无效
https://developers.weixin.qq.com/miniprogram/dev/devtools/cli.html#是否已经登录工具 执行 ./cli islogin 后并没有执行相关操作 机型:MacBook Pro(13-inch, M1, 2020) 版本:微信开发者工具 Stable 1.05.2110290 结果: [图片]
2021-11-12 - getLocation阻塞其它微信API
https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getLocation.html 如下为核心代码。当用户未开启系统定位时,这段代码的第一个getLocation会阻塞第二个getLocation,进而阻塞chooseImage。 wx.getLocation({ success() { console.log('getLocation success'); }, fail() { console.log('getLocation fail'); }, }); wx.getLocation({ success() { console.log('getLocation success'); }, fail() { console.log('getLocation fail'); }, }); wx.chooseImage({ complete() { console.log('getLocalImgData start'); wx.getLocalImgData({ complete() { console.log('getLocalImgData end'); }, }); }, });
2021-06-02