story#5360,web端拨打电话的确定事件弹框消失
This commit is contained in:
@ -193,7 +193,9 @@ export default {
|
|||||||
confirmButtonText:this.isWebFunc() ? '确定' : '拨打电话',
|
confirmButtonText:this.isWebFunc() ? '确定' : '拨打电话',
|
||||||
showCancelButton:true,
|
showCancelButton:true,
|
||||||
}).then(async() => {
|
}).then(async() => {
|
||||||
window.location.href = `tel:${this.detailInfo.contactNumber}`;
|
if(!this.isWebFunc()){
|
||||||
|
window.location.href = `tel:${this.detailInfo.contactNumber}`;
|
||||||
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
// on cancel
|
// on cancel
|
||||||
});
|
});
|
||||||
|
@ -110,7 +110,9 @@ export default {
|
|||||||
confirmButtonText:this.isWebFunc() ? '确定' : '拨打电话',
|
confirmButtonText:this.isWebFunc() ? '确定' : '拨打电话',
|
||||||
showCancelButton:true,
|
showCancelButton:true,
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
window.location.href = `tel:${this.detailInfo.contactNumber}`;
|
if(!this.isWebFunc()){
|
||||||
|
window.location.href = `tel:${this.detailInfo.contactNumber}`;
|
||||||
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
// on cancel
|
// on cancel
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user