wujingjing
2024-09-25 a656cfbcd0fea1048a633434f1e530fe40d4e3a0
src/components/chat/components/playBar/PlayBar.vue
@@ -78,6 +78,8 @@
import VoicePage from './voicePage/VoicePage.vue';
import { querySimilarityHistory } from '/@/api/ai/chat';
import { useClickOther } from '/@/hooks/useClickOther';
import { onClickOutside } from '@vueuse/core'
const emits = defineEmits(['sendClick']);
const props = defineProps(['isTalking', 'isHome']);
const voicePageIsShow = defineModel('voicePageIsShow', {
@@ -130,7 +132,10 @@
   left: null,
   bottom: null,
});
useClickOther([tipEleRef], triggerShow);
onClickOutside(tipEleRef,()=>{
   triggerShow.value = true
})
const inputText = (text) => {
   nextTick(() => {
      setTimeout(() => {