update
This commit is contained in:
parent
c00771ec5a
commit
5975ee836c
@ -89,6 +89,9 @@ wepy.app({
|
|||||||
|
|
||||||
onShow(options) {
|
onShow(options) {
|
||||||
console.log('路径携带参数:', options)
|
console.log('路径携带参数:', options)
|
||||||
|
if (options.path === 'pages/home/informationV2') {
|
||||||
|
wx.redirectTo({ url: `/pages/home/information?${decodeURIComponent(options.query.scene)}` })
|
||||||
|
}
|
||||||
if (options.query.scene) {
|
if (options.query.scene) {
|
||||||
let sceneList = decodeURIComponent(options.query.scene).split(/[= &]/)
|
let sceneList = decodeURIComponent(options.query.scene).split(/[= &]/)
|
||||||
sceneList.forEach((item, index) => {
|
sceneList.forEach((item, index) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user