SOURCE

//传参页面
look(row){
    let objData = JSON.stringify(row)
    this.$router.push({
        path: './createProject',
        query:{allData: encodeURIComponent(objData)}
    })
}
 
 
//接收参数页面
if (this.$route.query.allData) {
    let formObj = decodeURIComponent(this.$route.query.allData)
    this.formLabelAlign = JSON.parse(formObj)
}


function encodeData(data){
    let _data = JSON.stringify(data)
    return encodeURIComponent(_data)
}

function decodeData(edata){
    let _data = decodeURIComponent(edata)
    return JSON.parse(_data)
}
console 命令行工具 X clear

                    
>
console