Skip to content

Commit

Permalink
fix(upload): reset loading state after temp secret error
Browse files Browse the repository at this point in the history
  • Loading branch information
OrenZhang committed Dec 17, 2024
1 parent f3016e5 commit b6272d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ChatInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,8 @@ const doUploadFile = (file) => {
});
},
(err) => {
Message.error(err.response.data.message);
emits('setChatLoading', false);
Message.error(err.response.data.message);
},
);
});
Expand Down

0 comments on commit b6272d8

Please sign in to comment.