二手车交易,打电话添加取消按钮事件

This commit is contained in:
2025-03-13 20:00:52 +08:00
parent 91ce9fb3c7
commit 3a3d74ac69
2 changed files with 6 additions and 2 deletions

View File

@ -169,7 +169,9 @@ export default {
this.recordType=2
this.getDuration()
window.location.href = `tel:${this.detailInfo.contactNumber}`;
})
}).catch(() => {
// on cancel
});
},
onChange(index) {
this.current = index;

View File

@ -106,7 +106,9 @@ export default {
this.recordType=2
this.getDuration()
window.location.href = `tel:${this.detailInfo.contactNumber}`;
})
}).catch(() => {
// on cancel
});
},
}
}