版本
jsweixin-1.6.0
示例
请在微信环境下打开,https://m.haodf.com/nterms/demo/navigateTo
说明
近期收到多名用户反馈:在提交订单时,点击去支付按钮无法跳转到收银台
上方反馈的技术实现是:h5页面调用wx.miniprogram.navigateTo唤起原生收银台页面/page/payment/payment
为了排查问题,我们剥离了业务属性,仅使用wx.miniprogram的api做了一个demo页面给用户进行尝试,具体代码见上方代码示例,用户反馈均无法跳转到原生页面。
基于这个结果,我们排除掉了以下几种可能性:
- 不是sdk版本/sdk文件加载的问题:微信sdk由目前的线上版本1.3.2升级到了1.6.0,且sdk加载日志正常
- 不是navigateTo接口问题:使用wx.miniprogram.navigateTo与wx.miniprogram.redirectTo进行跳转测试,均无法跳转
- 不是目标原生页面路由问题:分别跳转至/page/paymentterms/paymentterms与/page/payment/payment,均无法跳转
并且反馈的用户的微信版本均为7.0.13.1640版本,为此我们推断可能是微信小程序的兼容性问题。
预期
由于目前已经影响多名用户无法跳转至收银台支付订单,给用户的使用产生了较大的影响,所以期望官方可以尽快跟进这个反馈,确认这个问题是否是由微信导致,如果是的话,期望给出升级时间与临时解决方案。
用户UA
Mozilla/5.0 (Linux; Android 8.1.0; JKM-AL00a Build/HUAWEIJKM-AL00a; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/1179 MMWEBSDK/200301 Mobile Safari/537.36 MMWEBID/7321 MicroMessenger/7.0.13.1640(0x27000D9E) Process/appbrand0 NetType/WIFI Language/zh_CN ABI/arm64 WeChat/arm64 miniProgram
Mozilla/5.0 (Linux; Android 7.1.1; MI MAX 2 Build/NMF26F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/1179 MMWEBSDK/200301 Mobile Safari/537.36 MMWEBID/5893 MicroMessenger/7.0.13.1640(0x27000D9D) Process/appbrand3 NetType/WIFI Language/zh_CN ABI/arm64 WeChat/arm64 miniProgram
Mozilla/5.0 (Linux; Android 9; V1809A Build/PKQ1.181030.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/1179 MMWEBSDK/200301 Mobile Safari/537.36 MMWEBID/4963 MicroMessenger/7.0.13.1640(0x27000D9E) Process/appbrand0 NetType/WIFI Language/zh_CN ABI/arm64 WeChat/arm64 miniProgram
Mozilla/5.0 (Linux; Android 9; vivo NEX S Build/PKQ1.181016.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.62 XWEB/2295 MMWEBSDK/200301 Mobile Safari/537.36 MMWEBID/411 MicroMessenger/7.0.13.1640(0x27000D39) Process/appbrand0 NetType/WIFI Language/zh_CN ABI/arm64 WeChat/arm64 miniProgram
Mozilla/5.0 (Linux; Android 10; HMA-AL00 Build/HUAWEIHMA-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/1179 MMWEBSDK/200301 Mobile Safari/537.36 MMWEBID/5684 MicroMessenger/7.0.13.1640(0x27000D9E) Process/appbrand2 NetType/WIFI Language/zh_CN ABI/arm64 WeChat/arm64 miniProgram
Mozilla/5.0 (Linux; Android 10; LIO-AN00 Build/HUAWEILIO-AN00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.62 XWEB/2295 MMWEBSDK/200301 Mobile Safari/537.36 MMWEBID/717 MicroMessenger/7.0.13.1640(0x27000D9D) Process/appbrand0 NetType/WIFI Language/zh_CN ABI/arm64 WeChat/arm64 miniProgram
备注
此外,之前我们也遇到了同样的问题,社区反馈见:
https://developers.weixin.qq.com/community/develop/doc/000a08fc5480d0b827c9f365451c00
https://developers.weixin.qq.com/community/develop/doc/000c2a1e4a4bf8b63d89ad77c56800?fromCreate=0
你好,近期会修复这个问题,目前可先在线上https://weixin.qq.com/下载正式版本7.0.13解决哈