语音前缀调整

This commit is contained in:
fan 2023-12-19 16:15:33 +08:00
parent 933a1367c4
commit ab31f2cefa
2 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@ export default {
};
sendCommandNew(this.$route.query.group, 'ISCS_PIS_Play', params)
.then(resp => {
const voiceUrl = this.$store.state.user.resourcesUrl + (voice.url || resp.data);
const voiceUrl = this.$store.state.user.ossUrl + (voice.url || resp.data);
const audio = document.getElementById('voice');
audio.src = voiceUrl;
audio.play();

View File

@ -290,7 +290,7 @@ export default {
};
sendCommandNew(this.$route.query.group, 'ISCS_PIS_Play', params)
.then(resp => {
const voiceUrl = this.$store.state.user.resourcesUrl + (voice.url || resp.data);
const voiceUrl = this.$store.state.user.ossUrl + (voice.url || resp.data);
const audio = document.getElementById('voice');
audio.src = voiceUrl;
audio.play();