| | |
| | | |
| | | // 是否已接口相应 |
| | | const isReceiveRes = ref(false); |
| | | const humanIsLoading = ref(true); |
| | | |
| | | const digitalHumanIsShow = ref(false); |
| | | const closeDigitalHuman = () => { |
| | |
| | | }; |
| | | |
| | | const resetDuixStatus = () => { |
| | | humanIsLoading.value = true; |
| | | isReceiveRes.value = false; |
| | | // isSpeaking.value = false; |
| | | digitalHumanIsShow.value = false; |
| | |
| | | } |
| | | return acc + mdText; |
| | | }, ''); |
| | | console.log('🚀 ~ knowledgeText:', knowledgeText); |
| | | // const conclusionText = |
| | | // item.conclusion |
| | | // ?.filter((item) => !!item.report) |
| | |
| | | }); |
| | | duix.on('show', () => { |
| | | console.info('show'); |
| | | humanIsLoading.value = false; |
| | | // 此时可确认视频已 |
| | | // (document.querySelector('#modal') as HTMLElement).style.display = 'none'; |
| | | }); |
| | |
| | | openDigitalHuman, |
| | | isHumanTalking: isReceiveRes, |
| | | closeDigitalHuman, |
| | | humanIsLoading, |
| | | }; |
| | | }; |