From 4171abc1fe4d4eb58973fae434980d77273bce30 Mon Sep 17 00:00:00 2001 From: THK3121 Date: Thu, 7 Sep 2023 09:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subpkg/property/chosseCompany.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subpkg/property/chosseCompany.vue b/subpkg/property/chosseCompany.vue index b24f648..c5335ae 100644 --- a/subpkg/property/chosseCompany.vue +++ b/subpkg/property/chosseCompany.vue @@ -185,7 +185,7 @@ // 13043214321 this.dataList = res.data.vehicleContract this.carList = res.data.vehicleRentCars - this.checked = [this.carList[0].car_id] + this.checked = [this.carList[0].car_id] || '' this.dataList.cars_info ? this.dataList.cars_info = JSON.parse(this.dataList.cars_info).license : "" if (this.dataList.status == 3) { @@ -275,7 +275,7 @@ contractApi({ id: this.dataList.id, - car_id: this.checked[0]?.car_id ? this.checked[0].car_id : "" + car_id: this.checked[0] || "" }).then(res => { this.navTo('/subpkg/property/success') })