投稿失敗したときにエラー表示するように

This commit is contained in:
syuilo 2020-10-25 11:19:20 +09:00
parent ed09796e0d
commit d9be9c958f

View file

@ -562,6 +562,10 @@ export default defineComponent({
}); });
}).catch(err => { }).catch(err => {
this.posting = false; this.posting = false;
os.dialog({
type: 'error',
text: err.message + '<br>' + (err as any).id,
});
}); });
}, },