fix: Fix speech recognition failed, the input box did not restore the default style.

--bug=1051969 --user=刘瑞斌 【应用】语音识别失败后输入框没有恢复默认的样式 https://www.tapd.cn/57709429/s/1651864
This commit is contained in:
CaptainB 2025-02-08 20:58:22 +08:00 committed by 刘瑞斌
parent 89e23198e0
commit 8668796c5d

View File

@ -484,6 +484,10 @@ const uploadRecording = async (audioBlob: Blob) => {
})
}
})
.catch((error) => {
recorderLoading.value = false
console.error(`${t('chat.uploadFile.errorMessage')}:`, error)
})
} catch (error) {
recorderLoading.value = false
console.error(`${t('chat.uploadFile.errorMessage')}:`, error)