a页面: 跳转到b页面
wx.navigateTo({
url: '../shop-uploadServe/main?type=edit'
})
b页面:在onLoad的options中接收
onLoad (options) {
if (options.type == 'edit') {
wx.setNavigationBarTitle({
title: '编辑服务'
})
},
}
a页面: 跳转到b页面
wx.navigateTo({
url: '../shop-uploadServe/main?type=edit'
})
b页面:在onLoad的options中接收
onLoad (options) {
if (options.type == 'edit') {
wx.setNavigationBarTitle({
title: '编辑服务'
})
},
}