From 397d2346373104a10dba964d0145aee89c0dbb1e Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Fri, 14 Mar 2025 16:50:58 +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=E6=89=93=E7=94=B5=E8=AF=9D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondHandCar/forSale.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/secondHandCar/forSale.vue b/src/views/secondHandCar/forSale.vue index 339ccdcd..37f3b13b 100644 --- a/src/views/secondHandCar/forSale.vue +++ b/src/views/secondHandCar/forSale.vue @@ -160,7 +160,12 @@ export default { this.saveRecord(duration); }, async saveRecord(duration){ - await saveRecord({type:this.recordType,carInfoId:this.id,duration}) + try { + let res= await saveRecord({type: this.recordType, carInfoId: this.id, duration}) + console.log("saveRecord",res) + } catch (e) { + console.log("e") + } }, handle(){ this.show=true