test(web_view): 测试按钮直接传 H5 URL 并加调试日志
不再依赖 scene/wxscene 参数传递(参数名可能被微信拦截) 改为直接传 ?url=encoded_h5_url 同时 web_view onLoad 打印所有 option 参数供排错
This commit is contained in:
@@ -638,7 +638,7 @@ export default {
|
||||
,goWxacodeTest() {
|
||||
console.log("[user] 太阳码扫码测试");
|
||||
uni.navigateTo({
|
||||
url: "/pages/annex/web_view/index?wxscene=app=pregnancy"
|
||||
url: "/pages/annex/web_view/index?url=https%3A%2F%2Fmp.yizhezhe.com%2Fapp_03%2Fhome"
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user