From a620868fb90ae020132df6f0d45cac60ac209f7d Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Tue, 15 Sep 2026 01:09:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(voices):=20=E4=BD=BF=E7=94=A8=20handleVoic?= =?UTF-8?q?eChange=20=E6=8E=A5=E7=AE=A1=E9=9F=B3=E8=89=B2=E5=88=87?= =?UTF-8?q?=E6=8D=A2=EF=BC=88=E5=B8=A6=E8=AF=AD=E8=A8=80=E5=9B=9E=E9=80=80?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/pages/voices/VoiceLibrary.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/pages/voices/VoiceLibrary.tsx b/apps/web/src/pages/voices/VoiceLibrary.tsx index 25fffc98e..8bf9c34e5 100755 --- a/apps/web/src/pages/voices/VoiceLibrary.tsx +++ b/apps/web/src/pages/voices/VoiceLibrary.tsx @@ -138,11 +138,11 @@ const VoiceLibrary: React.FC = () => { ttsAudioUrl, ttsError, setTtsText, - setTtsVoiceId, setTtsSpeed, setTtsEmotion, setTtsLanguage, setTtsOpen, + handleVoiceChange, handleTtsSynthesize, handleTtsSave, handleTtsClose, @@ -378,7 +378,7 @@ const VoiceLibrary: React.FC = () => { .map((v) => ({ id: v.id, name: v.name }))} onTtsClose={handleTtsClose} onTtsTextChange={setTtsText} - onTtsVoiceChange={setTtsVoiceId} + onTtsVoiceChange={handleVoiceChange} onTtsSpeedChange={setTtsSpeed} onTtsEmotionChange={setTtsEmotion} onTtsLanguageChange={setTtsLanguage}