From bffd1cba7ee0fd4e9d867fec2b036b3c9a4c99c4 Mon Sep 17 00:00:00 2001 From: xiebing Date: Mon, 29 Dec 2025 14:08:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E8=AF=AD=E9=9F=B3=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hook/useRealtimeRecorderOnce.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook/useRealtimeRecorderOnce.js b/hook/useRealtimeRecorderOnce.js index c2ce28d..b297920 100644 --- a/hook/useRealtimeRecorderOnce.js +++ b/hook/useRealtimeRecorderOnce.js @@ -546,7 +546,6 @@ export function useRealtimeRecorderOnce() { // 发送到服务器进行识别 await sendToASR(audioBlob); - isProcessing.value = false } else { throw new Error('录音数据为空或无效'); } @@ -604,6 +603,7 @@ export function useRealtimeRecorderOnce() { if (response.ok) { const result = await response.json(); if(result.code == 200){ + isProcessing.value = false recognizedText.value = result.data || '' }else{ $api.msg(result.msg || '识别失败')