feat: 语音的问题修复

This commit is contained in:
zoujing committed 2026-05-27 12:03:17 +08:00
1 parent 98d380edd8
commit c9f93cfa7f
2 files changed
+40 -1

No files matched your search

+1 -1
View File
@@ -185,6 +185,7 @@ let appStopFallbackTimer = null;
let hasSentAppRecognition = false;
const resetUI = () => {
isVoicePressing.value = false;
isRecording.value = false;
visibleWaveBtn.value = false;
try {
@@ -418,7 +419,6 @@ const handleVoiceTouchEnd = () => {
};
const handleVoiceTouchEndFromContainer = () => {
if (speechProvider !== "app") return;
if (!hasActiveVoiceRecognition()) return;
stopActiveVoiceRecognition({ shouldSend: true });
};