- 开发者工具-本地设置-不校验合法域名 功能不生效,怎么办?
操作系统:macOS 14.1.1 开发者工具版本:1.06.2310080 控制台报错 1: Error: MiniProgramError {"errMsg":"getStorage:fail data not found"} at Object.errorReport (WAServiceMainContext.js?t=wechat&s=1700209916700&v=2.25.3:1) at Function.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1700209916700&v=2.25.3:1) at Object.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1700209916700&v=2.25.3:1) at a (WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:7457) at Object.cb (WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:7010) at WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:4726 at Array.forEach (<anonymous>) at H.emit (WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:4722) at WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:4787 at Pe (WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:5098)(env: macOS,mp,1.06.2310080; lib: 2.25.3) 控制台报错 2: Error: MiniProgramError {"errMsg":"request:fail "} at Object.errorReport (WAServiceMainContext.js?t=wechat&s=1700209916700&v=2.25.3:1) at Function.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1700209916700&v=2.25.3:1) at Object.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1700209916700&v=2.25.3:1) at a (WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:7457) at Object.cb (WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:7010) at WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:4726 at Array.forEach (<anonymous>) at H.emit (WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:4722) at WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:4787 at Pe (WASubContext.js?t=wechat&s=1700209916700&v=2.25.3:formatted:5098)(env: macOS,mp,1.06.2310080; lib: 2.25.3)
2023-11-17 - wx.navigateBack的回调里调用wx.navigateTo失败
在wx.navigateBack()的success回调(或者其他)里调用wx.navigateTo(),模拟器和Android真机上都能成功,但是iOS真机设备报错:fail no page,我看到社区里有好几个问题去年就提到了这个bug,但是无官方人员回应,这里再提一下。 ps:回调里用setTimeout()延迟1s再在调用wx.navigateTo()可以暂时解决这个问题 ps2:还有wx.redirectTo()等路由api,都存在这个bug(即:iOS设备上这些接口的回调函数里无法再次调用其他路由接口)。。 如果有需要我可以提供代码片段
2018-12-17 - 列表最后一项第一次点击无法触发bindtap事件的bug
- 当前 Bug 的表现(可附上截图) 当列表的item超出列表的container,并且列表超出屏幕需要滑动的时候,在真机(iOS或者Android上),滑动列表到底部,第一次点击最后一项item时无法触发bindtap事件,需要点击多次,每次滑动列表,都会重新触发这个bug - 预期表现 列表滑动后,最后一项第一次点击能触发bindtap事件 (ps:真机上100%复现,模拟器上偶尔复现,复现条件是列表item需超出包裹列表的container,且列表超出屏幕需要滑动,点击最后一项item)
2018-11-21 - wx.request 无法使用multipart/form-data
- 当前 Bug 的表现(可附上截图) wx.request 设置content-type 为multipart/form-data ,请求头如下: [代码]POST /mindoffice/visitor_unreservations/subscribeBill HTTP/1.1[代码][代码]Host: qas.zjzlnet.com[代码][代码]Content-Length: 20[代码][代码]Pragma: no-cache[代码][代码]Cache-Control: no-cache[代码][代码]Origin: http://127.0.0.1:34785[代码][代码]User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1 wechatdevtools/1.02.1809111 MicroMessenger/6.5.7 Language/zh_CN webview/ token/61f11dc1d5bc1cfd264bbe33ae8d2f95[代码][代码]content-type: multipart/form-data[代码][代码]Accept: */*[代码][代码]Referer: https://servicewechat.com/wx04c25e121b8ce5df/devtools/page-frame.html[代码][代码]Accept-Encoding: gzip, deflate[代码][代码]Accept-Language: zh-CN,zh;q=0.8[代码][代码]Connection: keep-alive[代码][代码] [代码] [代码]{"data":"test data"}[代码]提交的参数没有被 boundary 包裹,后台拒绝了请求,提示 no multipart boundary was found - 预期表现 [代码]POST /mindoffice/visitor_unreservations/subscribeBill HTTP/1.1[代码][代码]Content-Type: multipart/form-data; boundary=7f81e6d3-da78-4610-82b5-b4906d630ab3[代码][代码]Content-Length: 407[代码][代码]Host: 115.29.7.124[代码][代码]Accept-Encoding: gzip[代码][代码]User-Agent: okhttp/3.6.0[代码][代码]Connection: keep-alive[代码][代码] [代码] [代码]--7f81e6d3-da78-4610-82b5-b4906d630ab3[代码][代码]content-disposition: form-data; name="data"[代码][代码]Content-Length: 255[代码][代码] [代码] [代码]test data[代码][代码]--7f81e6d3-da78-4610-82b5-b4906d630ab3--[代码] wx.uploadFile支持 multipart/form-data,但是我这个接口不需要传文件,只需传键值对,就是这么奇怪。。 请问该怎么解决呢?谢谢~
2018-10-31