forked from FoundKeyGang/FoundKey
投稿失敗したときにエラー表示するように
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 => {
|
}).catch(err => {
|
||||||
this.posting = false;
|
this.posting = false;
|
||||||
|
os.dialog({
|
||||||
|
type: 'error',
|
||||||
|
text: err.message + '<br>' + (err as any).id,
|
||||||
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue