一、接口设置 // 语音播放 export const getVoicePlay = (content: string) => { return requestVoice({ url: '/tts/?text_prompt=' + content, method: 'get', responseType: 'blob', // 返回类型blob }); }; 二、数据处理播放 getVoicePlay(item.content).then((res: any) => { console.log