uniapp页面跳转传递参数过长

传参
  url:'./photo_detail?item='+encodeURIComponent(JSON.stringify(obj))
取参
  const item = JSON.parse(decodeURIComponent(option.item))
原文地址:https://www.cnblogs.com/kerin/p/15748728.html