From ee247de4b4f825db516cea11baf1a9e0c08b9a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Wed, 22 Apr 2026 09:28:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20save=5Fvoice=5Fmate?= =?UTF-8?q?rial=20IPC=20=E8=B0=83=E7=94=A8=E5=8F=82=E6=95=B0=E5=8C=85?= =?UTF-8?q?=E8=A3=85=E9=94=99=E8=AF=AF=EF=BC=8C=E6=94=B9=E4=B8=BA=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E4=BC=A0=E5=85=A5=20material=20=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tauri-app/src/api/modules/voice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tauri-app/src/api/modules/voice.ts b/tauri-app/src/api/modules/voice.ts index 1c86311..9a8a04d 100644 --- a/tauri-app/src/api/modules/voice.ts +++ b/tauri-app/src/api/modules/voice.ts @@ -182,7 +182,7 @@ export async function loadVoiceMaterials(): Promise { /** 保存音色素材到本地 */ export async function saveVoiceMaterial(material: VoiceMaterial): Promise { - const result = await invoke<{ code: number; message: string }>('save_voice_material', { args: material }); + const result = await invoke<{ code: number; message: string }>('save_voice_material', material); if (result.code !== 200) { throw new Error(result.message || '保存素材失败'); }