cherry-studio/temp.txt
2025-04-12 11:57:00 +08:00

8 lines
447 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 不再自动清除回调函数,允许持续接收语音识别结果
// setTimeout(() => {
// // 发送重置命令,确保浏览器不会继续发送结果
// ASRService.cancelRecording()
//
// // 清除ASRService中的回调函数防止后续结果被处理
// ASRService.resultCallback = null
// }, 2000) // 2秒后强制取消作为安全措施