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) => {