feat: 所有格式转换成wav
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user