feat: 语音的问题修复

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

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 });
};