From ae9f564a41133019ebd2990c7c9410de4f8be950 Mon Sep 17 00:00:00 2001 From: daonan <91860300+daonan233@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:56:15 +0800 Subject: [PATCH] feat(pronunciation):fix upload error --- src/pages/words/pronunciations/upload.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/words/pronunciations/upload.vue b/src/pages/words/pronunciations/upload.vue index d3213b6e..700fd388 100644 --- a/src/pages/words/pronunciations/upload.vue +++ b/src/pages/words/pronunciations/upload.vue @@ -330,7 +330,7 @@ export default { // 上传录音文件 uploadFile(pronunciation.source).then((res) => { - pronunciation.source = JSON.parse(res).url; + pronunciation.source = res.url; // TODO refactor createPronunciation(pronunciation).then(() => { uni.showToast({