From 4f20dffc52ea9220ffe2fedac931c129d827f3bb Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Fri, 14 Mar 2025 17:14:42 +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 | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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 });