请问大神们遇见过这中问题 吗 更新到最新版本后就出现这个问题 在 2.6.5 版本就没有这个问题

MrWang668
- 发布:2020-05-20 09:44
- 更新:2022-05-12 15:50
- 阅读:5880

let pageList = getCurrentPages()
if (pageList[pageList.length - 2] && pageList[pageList.length - 2].route == 'pages/results/results') {
pageList[pageList.length - 2].$vm.keyword = name
pageList[pageList.length - 2].$vm.asyncSearch()
uni.navigateBack()
return
}
用.$vm

// 2.2 跳转到 home 页面
uni.reLaunch({
url:'/pages/home/home',
})
// uni.switchTab({
// url: '/pages/home/home',
// //#ifndef APP-PLUS || H5
// success:()=>{
// let page = getCurrentPages().pop(); //跳转页面成功之后
// if (!page) return;
// page.onLoad(); //如果页面存在,执行上个页面的方法,则重新刷新页面
// //console.log("重新刷新页面",page)
// },
// //#endif
// })
业余编程
解决了吗?我也遇到了
2020-06-07 14:33