二手车交易,缓存问题

This commit is contained in:
2025-03-17 17:02:08 +08:00
parent affe57159d
commit 857f30c11f

View File

@ -236,8 +236,16 @@ export default {
this.otherImgSrc=this.form.otherPhoto?.split(',')
this.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item}))
}
this.vehicleLicensePhotoList=[{url:this.form?.vehicleLicensePhoto}]
this.vehicleAnglePhotoList=[{url:this.form?.vehicleAnglePhoto}]
if(this.form.vehicleLicensePhoto){
this.vehicleLicensePhotoList=[{url:this.form?.vehicleLicensePhoto}]
}
if(this.form.vehicleAnglePhoto){
this.vehicleAnglePhotoList=[{url:this.form.vehicleAnglePhoto}]
}
if(this.otherImgSrc?.length>0){
this.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item}))
}
// console.log(" this.vehicleLicensePhotoList", this.vehicleLicensePhotoList)
/*this.vehicleLicensePhotoList=carSourceFormInfo.vehicleLicensePhotoList
this.vehicleAnglePhotoList=carSourceFormInfo.vehicleAnglePhotoList
this.otherImgSrcList=carSourceFormInfo.otherImgSrcList
@ -267,8 +275,6 @@ export default {
this.$router.push({ name: "privacyComponent"})
},
confirmHandle(val){
// let data=val.length
// this.form.areaCode=val[data - 1]?.code
if(val[0].name.includes('市')){
this.areaName=val[0].name
this.form.areaCode=val[0].code