二手车交易,车源报错

This commit is contained in:
2025-03-17 16:47:20 +08:00
parent 82d4c86936
commit cf45da3ef7

View File

@ -232,10 +232,16 @@ export default {
this.form={...carSourceFormInfo.form}
this.radio=carSourceFormInfo.radio
this.areaName=carSourceFormInfo.areaName
this.vehicleLicensePhotoList=carSourceFormInfo.vehicleLicensePhotoList
if(this.form?.otherPhoto){
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}]
/*this.vehicleLicensePhotoList=carSourceFormInfo.vehicleLicensePhotoList
this.vehicleAnglePhotoList=carSourceFormInfo.vehicleAnglePhotoList
this.otherImgSrcList=carSourceFormInfo.otherImgSrcList
this.otherImgSrc=carSourceFormInfo.otherImgSrc
this.otherImgSrc=carSourceFormInfo.otherImgSrc*/
},
methods:{
clearStorageFormInfo(){