二手车交易,车源发布做缓存

This commit is contained in:
2025-03-14 11:40:25 +08:00
parent 90c0852ace
commit 558e3e3e8c
2 changed files with 45 additions and 9 deletions

View File

@ -31,7 +31,21 @@ export default {
},
methods:{
backHandle(){
this.$router.push({ name:this.$route.query.type == 1 ? 'carSource' : 'wantBuy',query: {type:1},params: { form: this.$route.params.form,radio:this.$route.params.radio } })
if(this.$route.query.type == 1){
this.$router.push({ name: 'carSource',query: {type:1},params: {
form: this.$route.params.form,
radio:this.$route.params.radio ,
areaName:this.$route.params.areaName ,
vehicleLicensePhotoList:this.$route.params.vehicleLicensePhotoList ,
vehicleAnglePhotoList:this.$route.params.vehicleAnglePhotoList ,
otherImgSrcList:this.$route.params.otherImgSrcList ,
otherImgSrc:this.$route.params.otherImgSrc ,
} })
}else{
this.$router.push({ name: 'wantBuy',query: {type:1},params: { form: this.$route.params.form,radio:this.$route.params.radio } })
}
},
}
}