|
|
@ -67,6 +67,7 @@ export default { |
|
|
selectVoice(voiceId) { |
|
|
selectVoice(voiceId) { |
|
|
this.selectedVoiceId = voiceId |
|
|
this.selectedVoiceId = voiceId |
|
|
console.log('选择音色:', voiceId) |
|
|
console.log('选择音色:', voiceId) |
|
|
|
|
|
uni.$emit('selectVoice', voiceId) |
|
|
}, |
|
|
}, |
|
|
confirmSelection() { |
|
|
confirmSelection() { |
|
|
console.log('确认选择音色:', this.selectedVoiceId) |
|
|
console.log('确认选择音色:', this.selectedVoiceId) |
|
|
@ -84,6 +85,7 @@ export default { |
|
|
this.getVoice() |
|
|
this.getVoice() |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
<style scoped lang="scss"> |
|
|
|