- wx.getWindowInfo() API 获取 windowHeight 不对
安卓手机在从自定义头部导航栏页面跳转到非自定义头部导航栏页面后,在非自定义头部导航栏页面使用wx.getWindowInfo()获取到的windowHeight和screenHeight一样了。 截图windowHeight: 767 是使用wx.getSystemInfo()获取的是对的,截图windowHeight: 857是使用wx.getWindowInfo()获取的,是错的。 [图片][图片]
04-11 - 使用wx.getWindowInfo获取windowHeight数值错误
小程序使用tabbar,但是在不显示tabbar的页面wx.getWindowInfo返回的windowHeight依旧会减掉tabbar的高度
03-05 - wx.uploadFile能否支持移动解析(HttpDNS)?
wx.uploadFile能否跟wx.request一样,也支持enableHttpDNS选项?预期这样能够减少上传时出现ERR_NAME_NOT_RESOLVED错误的出现概率,恳请官方考虑一下。
2024-05-13 - wx.compressVideo在IOS压缩不起作用2023-03-10
- ios wx.compressVideo压缩前后大小不变问题
安卓手机使用wx.compressVideo压缩没有问题就是慢了点。。iOS使用wx.compressVideo压缩视频的大小基本没有变化 wx.compressVideo({ bitrate: 720, fps: 60, quality: 'medium', resolution: 1, src: videoList[0].tempFilePath, success(comRes) { console.log("comRes=-==", comRes) if (comRes.size / 1024 > 45) { that.setUpload(2) } else { console.log("压缩完成", new Date()) videoList[0] = comRes; that.uploading(imgList, videoList, data) } }, fail(comErr) { that.setUpload(2) console.log("comErr=-==", comErr) } })
2020-12-11 - wx.createWebAudioContext() 安卓客户端报错不支持
https://developers.weixin.qq.com/miniprogram/dev/framework/release/ andriod创建时报错 wx.createWebAudioContext() SystemError (appServiceSDKScriptError) mt is not a constructor TypeError: mt is not a constructor at Object.createWebAudioContext (WASubContext.js:2:1779768) at Object.t.<computed> (WASubContext.js:2:790041) at Object.<anonymous> (WASubContext.js:2:446824) at Proxy.<anonymous> (WASubContext.js:2:1795190) at < at wx.createWebAudioContext> at Proxy.<anonymous> (WASubContext.js:2:109144) at createWebAudioContext (pages/warehouse/details.js:49:707) at initCanvas (pages/warehouse/details.js:49:513) at play (pages/warehouse/details.js:29:6705) at apply (common/vendor.js:5:16476)
2021-08-06