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