diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index fbfd8468..617e6d6f 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -214,7 +214,7 @@ export default { this.vehicleLicensePhotoList=[{url:res.data?.vehicleLicensePhoto}] this.vehicleAnglePhotoList=[{url:res.data?.vehicleAnglePhoto}] } - this.form=JSON.parse(sessionStorage.getItem('formInfo')) + // this.form=JSON.parse(sessionStorage.getItem('formInfo')) this.areaName=sessionStorage.getItem('areaName') this.vehicleLicensePhotoList=JSON.parse(sessionStorage.getItem('vehicleLicensePhotoList')) this.vehicleAnglePhotoList=JSON.parse(sessionStorage.getItem('vehicleAnglePhotoList')) diff --git a/src/views/secondHandCar/mineRelease.vue b/src/views/secondHandCar/mineRelease.vue index 2fa3c125..13ec8a1d 100644 --- a/src/views/secondHandCar/mineRelease.vue +++ b/src/views/secondHandCar/mineRelease.vue @@ -48,7 +48,7 @@
- +
@@ -192,6 +192,15 @@ export default { this.poupShow=true this.xiajiaInfo=item }, + isToday(time) { + const now = new Date(); + const targetTime = new Date(time); + return ( + now.getFullYear() === targetTime.getFullYear() && + now.getMonth() === targetTime.getMonth() && + now.getDate() === targetTime.getDate() + ); + }, async tabClickHandle(i) { this.activeTab = i.value this.pageNum = 1