fix: bug

This commit is contained in:
杨航
2025-09-24 09:16:56 +08:00
parent 49e7b064f3
commit 681e4b66a0
2 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
ENV = 'development'
# 'development'
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
# VITE_APP_BASE_API_Url = ' http://25.18.122.66:9786'
#sit
# VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
+15 -1
View File
@@ -93,6 +93,21 @@ watch(
immediate: true
}
)
const isPlaying = ref(false)
watch(
() => props.activeVoiceId,
(val) => {
if(val === props.dataInfo.id){
isPlaying.value = true
}else{
isPlaying.value = false
}
},
{
deep: true,
immediate: true
}
)
const mdText = computed(() => {
let _text = (props.dataInfo?.talkingText|| '').replace(/\\n/g, `\n`);
return _text
@@ -100,7 +115,6 @@ const mdText = computed(() => {
const fileList = computed(() => props.dataInfo?.talkingFiles || [])
const crsList = computed(() => props.dataInfo?.talkingCrsList || [])
const activeNames = ref([1, 2])
const isPlaying = ref(false)
const talkVoiceObj = ref(null)
const voiceLoading = ref(false)