This commit is contained in:
lanzhihui 2025-02-28 16:22:02 +08:00
parent c00771ec5a
commit 5975ee836c

View File

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