fix: bug

This commit is contained in:
杨航
2025-09-02 19:28:50 +08:00
parent bc8a042217
commit ffc5c9e22b
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ export function downloadVoiceFile(url) {
};
if (token)
header['summary'] = token
let baseUrl = get_base_url();
let baseUrl = get_base_url(url);
return new Promise((resolve, reject) => {
uni.downloadFile({
url: `${baseUrl}${url}`,
@@ -365,6 +365,7 @@ const audioCacheObj = computed(() => storageStore.audioObj)
else if(props.type === 3) return unref(dataInfo)?.chatContent || unref(dataInfo)?.pgrphContent
else if(props.type === 4) return unref(dataInfo)?.chatContent || unref(dataInfo)?.qnsContent
else if(props.type === 5) return unref(dataInfo)?.chatContent || unref(dataInfo)?.analyContent
else if(props.type === 8) return unref(subjectInfo)?.chatContent || unref(subjectInfo)?.qnsContent
else if(props.type === 9) return unref(dataInfo)?.chatContent || unref(dataInfo)?.analyContent
else if(props.type === 0) return unref(dataInfo)?.chatContent || unref(dataInfo)?.talkingContent
else return unref(dataInfo)?.chatContent || unref(dataInfo)?.talkingContent