diff --git a/CHANGELOG.md b/CHANGELOG.md index fedb131..c696a0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2024/02/22 + +* feat: add download button for voice search page + ## 2024/02/21 * feat: support anim filter for voice search diff --git a/src/components/search/VoiceSearchPanel.vue b/src/components/search/VoiceSearchPanel.vue index c1bee96..6f266aa 100644 --- a/src/components/search/VoiceSearchPanel.vue +++ b/src/components/search/VoiceSearchPanel.vue @@ -166,6 +166,8 @@ const createColumns = (): any => { return h(AudioLabel, { ...extractAudioLabelPropFromVoiceId(row._id), extraText: row.speaker, + displayDownload: true, + audioText: row.text, }) }, align: 'center', diff --git a/src/components/translate/AudioLabel.vue b/src/components/translate/AudioLabel.vue index f8f46e4..35618ba 100644 --- a/src/components/translate/AudioLabel.vue +++ b/src/components/translate/AudioLabel.vue @@ -1,18 +1,28 @@