vue路由传对象格式的数据
发送页面:
let data = JSON.stringify(this.listDate); //传值转换this.$router.push({ path:‘/assets‘, query:{ data }})接收页面:
console.log(JSON.parse(this.$route.query.data))
vue路由传值对象格式
原文:https://www.cnblogs.com/lixiaosong/p/15074406.html