mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
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:
parent
89e23198e0
commit
8668796c5d
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue