uniapp小程序onShow接收路由传参

onShow(){
let pages = getCurrentPages();
let currentPage = pages[pages.length-1];
console.log(currentPage.options,'aaaaaaaaa')
}

你可能感兴趣的:(uniapp,小程序,小程序,uni-app)