This commit is contained in:
BianLzhaoMin 2025-07-22 18:31:02 +08:00
parent dbd56a2cea
commit 494da0ad79
2 changed files with 3 additions and 2 deletions

View File

@ -494,12 +494,13 @@ const handleChangeAudio = async (e) => {
selectPlayType.value = true
} else if (e === '删除') {
const { data: res } = await deleteAudioApi({
puId: robotData.robotInfo?.puId,
puid: robotData.robotInfo?.puId,
id: audioInfo.value?.id,
})
if (res.code == 200) {
message.success('删除音频成功')
getAudioInfo()
} else {
message.error('删除音频失败')
}

View File

@ -494,7 +494,7 @@ const handleChangeAudio = async (e) => {
selectPlayType.value = true
} else if (e === '删除') {
const { data: res } = await deleteAudioApi({
puId: robotData.robotInfo?.puId,
puid: robotData.robotInfo?.puId,
id: audioInfo.value?.id,
})