feat: 清除缓存页面
This commit is contained in:
@@ -34,14 +34,14 @@
|
||||
<AudioVisualizer ref="audioVisualizerRef" />
|
||||
</div>
|
||||
|
||||
<div v-show="showAudioRecorder" class="audio-recorder-wrapper">
|
||||
<!-- <div v-show="showAudioRecorder" class="audio-recorder-wrapper">
|
||||
<AudioRecorder
|
||||
ref="audioRecorderRef"
|
||||
@recording-started="onRecordingStarted"
|
||||
@recording-stopped="onRecordingStopped"
|
||||
@recording-deleted="onRecordingDeleted"
|
||||
/>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<div class="icon-wrapper" v-show="!isRecording" @click="handleClickAudio">
|
||||
@@ -63,7 +63,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, onUnmounted, nextTick } from 'vue'
|
||||
import AudioVisualizer from './AudioVisualizer.vue'
|
||||
import AudioRecorder from './AudioRecorder.vue'
|
||||
// import AudioRecorder from './AudioRecorder.vue'
|
||||
import { showToast } from 'vant'
|
||||
import { getAudioFileInfo, uploadAudioFile, prepareAudioForTTS } from '@/utils/audioUtils'
|
||||
|
||||
@@ -73,7 +73,7 @@ const inputValue = ref<string>('')
|
||||
const isRecording = ref<boolean>(false)
|
||||
const showAudioRecorder = ref<boolean>(false)
|
||||
const audioVisualizerRef = ref<InstanceType<typeof AudioVisualizer> | null>(null)
|
||||
const audioRecorderRef = ref<InstanceType<typeof AudioRecorder> | null>(null)
|
||||
// const audioRecorderRef = ref<InstanceType<typeof AudioRecorder> | null>(null)
|
||||
const textareaRef = ref<HTMLTextAreaElement | null>(null)
|
||||
const shortcutList: string[] = [
|
||||
'Suggest shoe styles',
|
||||
|
||||
Reference in New Issue
Block a user