From cf45da3ef7337d4f73347f5758d95761530ec5a2 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Mon, 17 Mar 2025 16:47:20 +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=E8=BD=A6=E6=BA=90=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondHandCar/carSource.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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(){