| | |
| | | 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', { |
| | |
| | | left: null, |
| | | bottom: null, |
| | | }); |
| | | useClickOther([tipEleRef], triggerShow); |
| | | |
| | | onClickOutside(tipEleRef,()=>{ |
| | | triggerShow.value = true |
| | | }) |
| | | const inputText = (text) => { |
| | | nextTick(() => { |
| | | setTimeout(() => { |