no message

This commit is contained in:
kuaifan 2022-12-12 19:03:01 +08:00
parent 95f9435ed1
commit f917b39432
2 changed files with 6 additions and 5 deletions

View File

@ -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