mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-16 22:22:49 +00:00
perf: 拨打电话确认提示
This commit is contained in:
parent
4612d5180a
commit
9ecb9c68fb
@ -2079,6 +2079,9 @@ export default {
|
||||
},
|
||||
|
||||
onCallTel() {
|
||||
$A.modalConfirm({
|
||||
content: `是否拨打电话给 ${this.dialogData.name}?`,
|
||||
onOk: () => {
|
||||
this.$store.dispatch("call", {
|
||||
url: 'dialog/tel',
|
||||
data: {
|
||||
@ -2100,6 +2103,8 @@ export default {
|
||||
}).catch(({msg}) => {
|
||||
$A.modalError(msg);
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
onAnon() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user