摘要: 通过转换传递json字符串来实现传递,接收时再转换回来。 传递时代码: let strItem = JSON.stringify(item); this.$router.push(`/detail/` + encodeURIComponent(strItem)); 接收时的处理: let info 阅读全文
posted @ 2020-10-22 14:25 络角阔落 阅读(3390) 评论(0) 推荐(0)