diff --git a/src/views/secondHandCar/forSale.vue b/src/views/secondHandCar/forSale.vue index 011a120a..72222ede 100644 --- a/src/views/secondHandCar/forSale.vue +++ b/src/views/secondHandCar/forSale.vue @@ -174,15 +174,9 @@ export default { confirmButtonText:'拨打电话', showCancelButton:true, }).then(async() => { - try { - await this.getDuration(); // 等待网络请求完成 - window.location.href = `tel:${this.detailInfo.contactNumber}`; // 拨号 - } catch (error) { - console.error('网络请求失败', error); - } - /* this.recordType=2 + this.recordType=2 this.getDuration() - window.location.href = `tel:${this.detailInfo.contactNumber}`;*/ + window.location.href = `tel:${this.detailInfo.contactNumber}`; }).catch(() => { // on cancel });