赞
踩
- select_stockid() {
- const selectedListOld = JSON.stringify(this.list_stockid);
- const encodedParam = encodeURIComponent(selectedListOld);
- uni.navigateTo({
- url: `../select_stockid/select_stockid?selectedList_old=${encodedParam}`
- })
- },
- onShow() {
- let pages = getCurrentPages();
- let currentPage = pages[pages.length - 1];
- let options = currentPage.options;
- if (options.selectedList_old) {
- let selectedListOld = JSON.parse(options.selectedList_old);
- console.log(selectedListOld); // 输出传递的数组参数
- }
- },
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。