页面优化

This commit is contained in:
THK3121 2023-09-07 09:04:07 +08:00
parent 323bd3b551
commit 4171abc1fe

View File

@ -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')
})