wujingjing
2025-04-10 8aa7ffddc511138d61d64029157c11cfccc5431d
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') {