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

This commit is contained in:
syuilo 2020-10-25 11:19:20 +09:00
parent 1de4f259c5
commit 1df8df3655

View File

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