diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-10-25 11:19:20 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-10-25 11:19:20 +0900 |
| commit | d9be9c958ff9f67460d69b2220f90537daef1c4c (patch) | |
| tree | bf4ce68e95abe76036379475fc65f32f4ecf6a90 /src/client/components | |
| parent | :art: (diff) | |
| download | sharkey-d9be9c958ff9f67460d69b2220f90537daef1c4c.tar.gz sharkey-d9be9c958ff9f67460d69b2220f90537daef1c4c.tar.bz2 sharkey-d9be9c958ff9f67460d69b2220f90537daef1c4c.zip | |
投稿失敗したときにエラー表示するように
Diffstat (limited to 'src/client/components')
| -rw-r--r-- | src/client/components/post-form.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index ccca4b54a6..0481691be9 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -562,6 +562,10 @@ export default defineComponent({ }); }).catch(err => { this.posting = false; + os.dialog({ + type: 'error', + text: err.message + '<br>' + (err as any).id, + }); }); }, |