// 获取当前小程序的页面栈 let pages = getCurrentPages(); // 数组中索引最大的页面--当前页面 let currentPage = pages[pages.length - 1]; // 打印出当前页面中的 options console.log(currentPage.options)
小程序 onShow 里面 获取传递过来的参数
猜你喜欢
转载自www.cnblogs.com/wangshishuai/p/12964443.html
今日推荐
周排行