This commit is contained in:
杨航
2025-11-26 08:55:55 +08:00
parent f975feaf52
commit 0f38cec979
3 changed files with 18 additions and 3 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ ENV = 'development'
# VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001'
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
@@ -14,7 +14,7 @@ ENV = 'development'
# VITE_APP_BASE_API_Url = 'http://aitscdn.jlbank.com.cn:7001'
# VITE_APP_BASE_API_Url = 'http://192.168.108.129'
# dev
VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
# VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
# sit
# VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
# UAT
+1 -1
View File
@@ -150,8 +150,8 @@
return;
}
isPlaying.value = true
emit('changePlay', unref(dataInfo)?.id);
setTimeout(() => {
emit('changePlay', unref(dataInfo)?.id);
// readType 阅读内容类型pgrh段落/qns问题
if (talkVoiceObj.value.src && talkVoiceObj.value.src === itemVoice.value) {
if (voiceIsPlaying.value) return
@@ -166,6 +166,21 @@ import { onUnload } from '@dcloudio/uni-app';
}
const isTesting= ref(false)
watch(() => props.dataInfo, () => {},{deep: true,immediate: true})
watch(
() => props.activeVoiceId,
(val) => {
if (val !== props.dataInfo.id) {
if (voiceIsPlaying.value) {
voiceIsPlaying.value = false
if (!talkVoiceObj.value) return
talkVoiceObj.value.pause()
}
}
}, {
deep: true,
immediate: true
}
)
</script>
<style scoped lang="scss">