perf: 拨打电话确认提示

This commit is contained in:
kuaifan 2024-03-15 11:16:20 +09:00
parent 4612d5180a
commit 9ecb9c68fb

View File

@ -2079,6 +2079,9 @@ export default {
}, },
onCallTel() { onCallTel() {
$A.modalConfirm({
content: `是否拨打电话给 ${this.dialogData.name}`,
onOk: () => {
this.$store.dispatch("call", { this.$store.dispatch("call", {
url: 'dialog/tel', url: 'dialog/tel',
data: { data: {
@ -2100,6 +2103,8 @@ export default {
}).catch(({msg}) => { }).catch(({msg}) => {
$A.modalError(msg); $A.modalError(msg);
}); });
}
});
}, },
onAnon() { onAnon() {