diff --git a/pages/recitation/index.vue b/pages/recitation/index.vue index 62707a5..499839a 100644 --- a/pages/recitation/index.vue +++ b/pages/recitation/index.vue @@ -91,9 +91,10 @@ // 获取上一题 previous(index, wordName) { - this.getAudioResource() + this.currentIndex--; - this.audio = this.wordData[index - 1].wordName; + this.audio = this.wordData[index - 1].wordName; + this.getAudioResource() console.log('回到上一题', index, this.wordData[index - 1].wordName) },