mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-02 02:48:13 +00:00
fix: 修复任务操作无法点击确定
This commit is contained in:
parent
ee2eceffb0
commit
da630458e1
@ -414,7 +414,7 @@ export default {
|
|||||||
if (this.loadIng) {
|
if (this.loadIng) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve) => {
|
||||||
this.$store.dispatch("taskConvertToMain", this.task.id).then(({data, msg}) => {
|
this.$store.dispatch("taskConvertToMain", this.task.id).then(({data, msg}) => {
|
||||||
$A.messageSuccess(msg);
|
$A.messageSuccess(msg);
|
||||||
this.hide();
|
this.hide();
|
||||||
@ -422,7 +422,7 @@ export default {
|
|||||||
resolve();
|
resolve();
|
||||||
}).catch(({msg}) => {
|
}).catch(({msg}) => {
|
||||||
$A.modalError(msg);
|
$A.modalError(msg);
|
||||||
reject();
|
resolve();
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user