feat : 语音转文字实现

This commit is contained in:
2025-12-26 18:41:58 +08:00
parent e114675eba
commit f6b7755e32
2 changed files with 304 additions and 155 deletions

View File

@@ -300,6 +300,7 @@ const {
} = useRealtimeRecorderOnce();
watch(recognizedText, (newText) => {
console.log(newText,'++++++++')
if (newText && newText.trim() && !isProcessing.value) {
setTimeout(() => {
sendMessage(newText);