跳转时,带入参数
this.$router.push({path: '/editName', query: {dataName: this.checkMultip}})
接收参数
created () {
this.data = this.$route.query.dataName
console.log(this.data)
}
跳转时,带入参数
this.$router.push({path: '/editName', query: {dataName: this.checkMultip}})
接收参数
created () {
this.data = this.$route.query.dataName
console.log(this.data)
}