feat: 语言转文字默认语言设置为英文

This commit is contained in:
zhangyh
2025-10-21 10:04:54 +08:00
parent 90e381c93f
commit d25881d103

View File

@@ -208,7 +208,7 @@ const startRecording = () => {
// 配置参数
speechRecognition.continuous = true
speechRecognition.interimResults = true
speechRecognition.lang = 'zh-CN' // 设置为
speechRecognition.lang = 'en-US' // 设置为
}
// 识别开始