mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +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) {
|
if (dialog) {
|
||||||
dispatch("openDialog", dialog.id);
|
dispatch("openDialog", dialog.id);
|
||||||
|
resolve(dialog);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
dispatch("call", {
|
dispatch("call", {
|
||||||
@ -2207,10 +2208,10 @@ export default {
|
|||||||
data: {
|
data: {
|
||||||
userid,
|
userid,
|
||||||
},
|
},
|
||||||
}).then(result => {
|
}).then(({data}) => {
|
||||||
dispatch("saveDialog", result.data);
|
dispatch("saveDialog", data);
|
||||||
dispatch("openDialog", result.data.id);
|
dispatch("openDialog", data.id);
|
||||||
resolve(result);
|
resolve(data);
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.warn(e);
|
console.warn(e);
|
||||||
reject(e);
|
reject(e);
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 38d1d431808c71ab0e3e9e2404b0358505d3e7a2
|
Subproject commit 3dd2f86d0e016a9cff644763427750343dae91d6
|
||||||
Loading…
x
Reference in New Issue
Block a user