From 985538d9575cb6e21cf28823730e57a9286d335c Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Wed, 8 Jul 2026 18:47:45 +0800 Subject: [PATCH] =?UTF-8?q?test(web=5Fview):=20=E6=B7=BB=E5=8A=A0=20=3Fapp?= =?UTF-8?q?=3Didentifier=20=E5=8F=82=E6=95=B0=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 测试用:navigateTo 传 ?app=pregnancy 直接触发 _resolveAppScene 跳过 scene 参数被微信拦截的问题,验证整个 app 解析链路: _resolveAppScene("pregnancy", option) → 调 box_app /api/mp/apps → 匹配 identifier=pregnancy → 拿到 App.url → 加载 H5 + 测试按钮改为 ?app=pregnancy --- pages/user/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/user/index.vue b/pages/user/index.vue index af86066..4eb73a4 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -638,7 +638,7 @@ export default { ,goWxacodeTest() { console.log("[user] 太阳码扫码测试"); uni.navigateTo({ - url: "/pages/annex/web_view/index?url=https%3A%2F%2Fmp.yizhezhe.com%2Fapp_03%2Fhome" + url: "/pages/annex/web_view/index?app=pregnancy" }); } }