diff --git a/src/components/Modal/Statistics.vue b/src/components/Modal/Statistics.vue index 9de790ff..79a02b78 100644 --- a/src/components/Modal/Statistics.vue +++ b/src/components/Modal/Statistics.vue @@ -8,24 +8,52 @@ import Fireworks from "@/components/Fireworks.vue"; import BaseButton from "@/components/BaseButton.vue"; const store = useBaseStore() + +function write() { + store.isDictation = true + repeat() +} + +//TODO 需要判断是否已忽略 +function repeat() { + store.currentDict.wordIndex = 0 + store.currentWrongDict.wordList = [] + store.statModalIsOpen = false +} + +function next() { + store.currentDict.chapterIndex++ + repeat() +} - + 新概念英语-2 第3章 - - - + + + - Yes + {{ i.name }} @@ -47,19 +75,19 @@ const store = useBaseStore() - +