mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-03 16:02:08 +00:00
no message
This commit is contained in:
parent
95f9435ed1
commit
f917b39432
9
resources/assets/js/store/actions.js
vendored
9
resources/assets/js/store/actions.js
vendored
@ -2200,6 +2200,7 @@ export default {
|
||||
});
|
||||
if (dialog) {
|
||||
dispatch("openDialog", dialog.id);
|
||||
resolve(dialog);
|
||||
return;
|
||||
}
|
||||
dispatch("call", {
|
||||
@ -2207,10 +2208,10 @@ export default {
|
||||
data: {
|
||||
userid,
|
||||
},
|
||||
}).then(result => {
|
||||
dispatch("saveDialog", result.data);
|
||||
dispatch("openDialog", result.data.id);
|
||||
resolve(result);
|
||||
}).then(({data}) => {
|
||||
dispatch("saveDialog", data);
|
||||
dispatch("openDialog", data.id);
|
||||
resolve(data);
|
||||
}).catch(e => {
|
||||
console.warn(e);
|
||||
reject(e);
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 38d1d431808c71ab0e3e9e2404b0358505d3e7a2
|
||||
Subproject commit 3dd2f86d0e016a9cff644763427750343dae91d6
|
||||
Loading…
x
Reference in New Issue
Block a user