From 75705e895552be1c7f43b615534505fd9e710c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=9B=E8=BF=9B=E5=95=8A?= <1830275783@qq.com> Date: Sat, 16 Apr 2022 15:43:23 +0800 Subject: [PATCH] commit --- pages/recitation/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) },