From 7594e56cda127a4c887f72a1a3e8402f5e6e1063 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Mon, 21 Apr 2025 09:34:41 +0800 Subject: [PATCH] =?UTF-8?q?story#5360,web=E7=AB=AF=E6=8B=A8=E6=89=93?= =?UTF-8?q?=E7=94=B5=E8=AF=9D=E7=9A=84=E7=A1=AE=E5=AE=9A=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondHandCar/forSale.vue | 4 +++- src/views/secondHandCar/wantBuySale.vue | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/secondHandCar/forSale.vue b/src/views/secondHandCar/forSale.vue index f825c25c..e0a696d8 100644 --- a/src/views/secondHandCar/forSale.vue +++ b/src/views/secondHandCar/forSale.vue @@ -193,7 +193,9 @@ export default { confirmButtonText:this.isWebFunc() ? '确定' : '拨打电话', showCancelButton:true, }).then(async() => { - window.location.href = `tel:${this.detailInfo.contactNumber}`; + if(!this.isWebFunc()){ + window.location.href = `tel:${this.detailInfo.contactNumber}`; + } }).catch(() => { // on cancel }); diff --git a/src/views/secondHandCar/wantBuySale.vue b/src/views/secondHandCar/wantBuySale.vue index 33a053ef..d2e99531 100644 --- a/src/views/secondHandCar/wantBuySale.vue +++ b/src/views/secondHandCar/wantBuySale.vue @@ -110,7 +110,9 @@ export default { confirmButtonText:this.isWebFunc() ? '确定' : '拨打电话', showCancelButton:true, }).then(() => { - window.location.href = `tel:${this.detailInfo.contactNumber}`; + if(!this.isWebFunc()){ + window.location.href = `tel:${this.detailInfo.contactNumber}`; + } }).catch(() => { // on cancel });