uni_app中使用JSON.stringify()报错了,主要是因为在新页面会默认使用JSON.parse()解析 cgctm6 2020-07-01 1,049 阅读1分钟 跳转页面时传递参数 url: ../../detail/detail?detail=${encodeURIComponent(JSON.stringify(item))}, 新页面接受参数 JSON.parse(decodeURIComponent(e.detail));