diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index 68be2261..71477770 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -237,20 +237,14 @@ export default { this.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item})) } if(this.form.vehicleLicensePhoto){ - this.vehicleLicensePhotoList=[{url:this.form?.vehicleLicensePhoto}] + this.vehicleLicensePhotoList=[{url:this.form.vehicleLicensePhoto}] } if(this.form.vehicleAnglePhoto){ this.vehicleAnglePhotoList=[{url:this.form.vehicleAnglePhoto}] } - this.otherImgSrcList=carSourceFormInfo.otherImgSrcList - // this.otherImgSrc=carSourceFormInfo.otherImgSrc - /* if(carSourceFormInfo.otherImgSrc?.length>0){ - carSourceFormInfo.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item})) - }*/ + this.otherImgSrcList=JSON.parse(carSourceFormInfo.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.otherImgSrc=carSourceFormInfo.otherImgSrc*/ }, @@ -269,9 +263,8 @@ export default { viewPrivacy(){ let data={ form:this.form,radio:this.radio,areaName:this.areaName, - otherImgSrcList:this.otherImgSrcList, - /* vehicleLicensePhotoList:this.vehicleLicensePhotoList, - vehicleAnglePhotoList:this.vehicleAnglePhotoList, + otherImgSrcList:JSON.stringify(this.otherImgSrcList), + /* otherImgSrcList:this.otherImgSrcList, otherImgSrc:this.otherImgSrc,*/ }