mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 03:43:07 +02:00
投稿失敗したときにエラー表示するように
This commit is contained in:
parent
ed09796e0d
commit
d9be9c958f
1 changed files with 4 additions and 0 deletions
|
@ -562,6 +562,10 @@ export default defineComponent({
|
|||
});
|
||||
}).catch(err => {
|
||||
this.posting = false;
|
||||
os.dialog({
|
||||
type: 'error',
|
||||
text: err.message + '<br>' + (err as any).id,
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue