diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index 430c0a9a..3a0f0611 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -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(){