二手车交易,缓存问题

This commit is contained in:
2025-03-17 17:15:46 +08:00
parent ad1c6f1c9c
commit 815c94e81c

View File

@ -237,20 +237,14 @@ export default {
this.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item})) this.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item}))
} }
if(this.form.vehicleLicensePhoto){ if(this.form.vehicleLicensePhoto){
this.vehicleLicensePhotoList=[{url:this.form?.vehicleLicensePhoto}] this.vehicleLicensePhotoList=[{url:this.form.vehicleLicensePhoto}]
} }
if(this.form.vehicleAnglePhoto){ if(this.form.vehicleAnglePhoto){
this.vehicleAnglePhotoList=[{url:this.form.vehicleAnglePhoto}] this.vehicleAnglePhotoList=[{url:this.form.vehicleAnglePhoto}]
} }
this.otherImgSrcList=carSourceFormInfo.otherImgSrcList this.otherImgSrcList=JSON.parse(carSourceFormInfo.otherImgSrcList)
// this.otherImgSrc=carSourceFormInfo.otherImgSrc
/* if(carSourceFormInfo.otherImgSrc?.length>0){
carSourceFormInfo.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item}))
}*/
console.log("--",this.vehicleLicensePhotoList,this.vehicleAnglePhotoList,this.otherImgSrcList) console.log("--",this.vehicleLicensePhotoList,this.vehicleAnglePhotoList,this.otherImgSrcList)
// console.log(" this.vehicleLicensePhotoList", this.vehicleLicensePhotoList) /*
/*this.vehicleLicensePhotoList=carSourceFormInfo.vehicleLicensePhotoList
this.vehicleAnglePhotoList=carSourceFormInfo.vehicleAnglePhotoList
this.otherImgSrcList=carSourceFormInfo.otherImgSrcList this.otherImgSrcList=carSourceFormInfo.otherImgSrcList
this.otherImgSrc=carSourceFormInfo.otherImgSrc*/ this.otherImgSrc=carSourceFormInfo.otherImgSrc*/
}, },
@ -269,9 +263,8 @@ export default {
viewPrivacy(){ viewPrivacy(){
let data={ let data={
form:this.form,radio:this.radio,areaName:this.areaName, form:this.form,radio:this.radio,areaName:this.areaName,
otherImgSrcList:this.otherImgSrcList, otherImgSrcList:JSON.stringify(this.otherImgSrcList),
/* vehicleLicensePhotoList:this.vehicleLicensePhotoList, /*
vehicleAnglePhotoList:this.vehicleAnglePhotoList,
otherImgSrcList:this.otherImgSrcList, otherImgSrcList:this.otherImgSrcList,
otherImgSrc:this.otherImgSrc,*/ otherImgSrc:this.otherImgSrc,*/
} }