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