uniapp页面跳转传递参数过长

传参
  url:'./photo_detail?item='+encodeURIComponent(JSON.stringify(obj))
取参
  const item = JSON.parse(decodeURIComponent(option.item))
posted @ 2021-12-30 14:45  夏目的三三  阅读(63)  评论(0编辑  收藏  举报