feat: 所有格式转换成wav

This commit is contained in:
2025-10-15 12:02:18 +08:00
parent ee96c5feb8
commit 4116ef03e6
4 changed files with 87 additions and 23 deletions

View File

@@ -74,7 +74,7 @@ function Index(props: DefinedProps) {
break;
default:
console.warn("未知错误");
};
}
Toast.show("音频播放失败");
setIsPlating(false);
};
@@ -127,6 +127,7 @@ function Index(props: DefinedProps) {
{data.map((item, index) => (
<div className="item" key={index} onClick={() => playAudio(item.id, item.contentText)}>
{renderAvatar(item.petType)}
<div className="rig">
<div>
<span className="name">{item.petName}</span>