fix : 录音状态优化
This commit is contained in:
@@ -545,8 +545,8 @@ export function useRealtimeRecorderOnce() {
|
|||||||
// debugSaveWavFile(audioBlob);
|
// debugSaveWavFile(audioBlob);
|
||||||
|
|
||||||
// 发送到服务器进行识别
|
// 发送到服务器进行识别
|
||||||
isProcessing.value = false
|
|
||||||
await sendToASR(audioBlob);
|
await sendToASR(audioBlob);
|
||||||
|
isProcessing.value = false
|
||||||
} else {
|
} else {
|
||||||
throw new Error('录音数据为空或无效');
|
throw new Error('录音数据为空或无效');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user