小程序-页面传参json数组

时间:2019-06-11 11:01:59   收藏:0   阅读:155

1、页面传参,参数为json

2、直接传参不行

3、A到B

A页面

JSON.stringify(data)
B页面
JSON.parse(data)
 
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!