1.vue
<span @click="toCar(item.jdcxxbz)" style="cursor: pointer"> {{item.jdchphm}}</span>
// 跳转到车辆
methods: {
// 跳转到车辆
toCar(item){
this.$router.push({
path: "/archives/car",
query:{
carId: item
}
});
}
}
网友评论