From b6272d8139bc3724058670e0af813a63e251d5b2 Mon Sep 17 00:00:00 2001 From: orenzhang Date: Tue, 17 Dec 2024 22:09:26 +0800 Subject: [PATCH] fix(upload): reset loading state after temp secret error --- src/components/ChatInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ChatInput.vue b/src/components/ChatInput.vue index 1396c95..19479ab 100644 --- a/src/components/ChatInput.vue +++ b/src/components/ChatInput.vue @@ -388,8 +388,8 @@ const doUploadFile = (file) => { }); }, (err) => { - Message.error(err.response.data.message); emits('setChatLoading', false); + Message.error(err.response.data.message); }, ); });