flat: 对接一体机语音播放

This commit is contained in:
Apcallover
2025-12-20 14:51:03 +08:00
parent 99cb6b4710
commit 02fef1700b
5 changed files with 247 additions and 4 deletions

View File

@@ -271,9 +271,8 @@ import FileIcon from './fileIcon.vue';
import FileText from './fileText.vue';
import useScreenStore from '@/stores/useScreenStore'
const screenStore = useScreenStore();
// 系统功能hook和阿里云hook
import { useAudioRecorder } from '@/hook/useRealtimeRecorder.js';
import { useTTSPlayer } from '@/hook/useTTSPlayer.js';
import { useTTSPlayer } from '@/hook/useTTS.js';
// 全局
const { $api, navTo, throttle } = inject('globalFunction');
const emit = defineEmits(['onConfirm']);