From 5975ee836c4ced991c9b901356991e8a448ce652 Mon Sep 17 00:00:00 2001 From: lanzhihui <503792708@qq.com> Date: Fri, 28 Feb 2025 16:22:02 +0800 Subject: [PATCH] update --- src/app.wpy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.wpy b/src/app.wpy index 182494b..0084d98 100644 --- a/src/app.wpy +++ b/src/app.wpy @@ -89,6 +89,9 @@ wepy.app({ onShow(options) { console.log('路径携带参数:', options) + if (options.path === 'pages/home/informationV2') { + wx.redirectTo({ url: `/pages/home/information?${decodeURIComponent(options.query.scene)}` }) + } if (options.query.scene) { let sceneList = decodeURIComponent(options.query.scene).split(/[= &]/) sceneList.forEach((item, index) => {