fix: bug
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user