From 1f33c401da7a7a7b67222af7400dba66d65b6a9a Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 20 六月 2024 10:44:08 +0800
Subject: [PATCH] feat:音频题解析

---
 src/views/grade/components/answer-main/answer-multiple/index.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/views/grade/components/answer-main/answer-multiple/index.vue b/src/views/grade/components/answer-main/answer-multiple/index.vue
index bb424d6..46896c9 100644
--- a/src/views/grade/components/answer-main/answer-multiple/index.vue
+++ b/src/views/grade/components/answer-main/answer-multiple/index.vue
@@ -39,13 +39,12 @@
 import { ref, computed } from 'vue';
 import { storeToRefs } from 'pinia';
 import ExamInfo from '@/components/ExamInfo/index.vue';
-import { useExamStore } from '@/store/index.js';
+import { useGradeStore } from '@/store/index.js';
+const gradeStore = useGradeStore();
 
-const examStore = useExamStore();
+const { currentIndex } = storeToRefs(gradeStore);
 
-const { currentIndex } = storeToRefs(examStore);
-
-const activeQuestion = ref(examStore.getActiveQuestion);
+const activeQuestion = ref(gradeStore.getActiveQuestion);
 
 const formatAnswer = (answer) => {
   return answer.split(',');

--
Gitblit v1.8.0