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