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

This commit is contained in:
syuilo 2020-10-25 11:19:20 +09:00
parent ed09796e0d
commit d9be9c958f
1 changed files with 4 additions and 0 deletions

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,
});
});
},