Skip to content

Commit

Permalink
Merge pull request #19 from OVINC-CN/feat_error_msg
Browse files Browse the repository at this point in the history
feat: add more error message display
  • Loading branch information
OrenZhang authored Apr 27, 2024
2 parents f347641 + ea886c3 commit 5f3ea6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/ChatInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ const doChat = async () => {
});
}
read();
}, () => emits('setChatLoading', false));
}, (err) =>{
emits('setChatLoading', false);
Message.error(err.message);
});
};
const reGenerate = () => {
Expand Down

0 comments on commit 5f3ea6f

Please sign in to comment.