From 815c94e81c6d867bdd03a08c5c2ab5df06705be5 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Mon, 17 Mar 2025 17:15:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=89=8B=E8=BD=A6=E4=BA=A4=E6=98=93?= =?UTF-8?q?=EF=BC=8C=E7=BC=93=E5=AD=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondHandCar/carSource.vue | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) 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,*/ }