From 8aa7ffddc511138d61d64029157c11cfccc5431d Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 10 四月 2025 13:30:25 +0800 Subject: [PATCH] VITE_OUTPUT_DIR --- src/components/chat/components/playBar/PlayBar.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/components/chat/components/playBar/PlayBar.vue b/src/components/chat/components/playBar/PlayBar.vue index abe07ac..93aa6f6 100644 --- a/src/components/chat/components/playBar/PlayBar.vue +++ b/src/components/chat/components/playBar/PlayBar.vue @@ -145,6 +145,7 @@ <span class="ywifont ywicon-fujian !text-[20px] font-bold"></span> </div> </el-tooltip> + <el-tooltip v-if="isSupportSpeech" placement="top" :content="recordState.isRecording ? '鍋滄璇煶杈撳叆' : '璇煶杈撳叆'"> <div class="cursor-pointer size-[24px] relative !z-10 rounded flex-center hover:bg-[#f2f2f2]" @click="speechClick"> @@ -220,6 +221,7 @@ import MetricValuesPreview from './metricValues/MetricValuesPreview.vue'; import { useSpeech } from './hook/useSpeech'; +import { useDigitalHuman } from './hook/useDigitalHuman'; const emits = defineEmits(['sendClick', 'stopGenClick']); const props = defineProps({ @@ -256,7 +258,9 @@ inputValue: inputValue, inputRef: inputRef, }); - +const { openDigitalHuman, isHumanTalking, digitalHumanIsShow } = useDigitalHuman({ + container: '.duix-container', +}); const clearTextarea = () => { inputValue.value = ''; }; @@ -324,6 +328,7 @@ pastTarget: inputRef as any, attachFileList: attachList, }); + const deleteAttachInIndex = (index: number) => { const attach = attachList.value[index]; if (attach.type === 'file') { -- Gitblit v1.9.3