From 622dbed5482bb2f9d7700008298f7d55ff004ccd Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 12 七月 2024 11:29:35 +0800 Subject: [PATCH] 允许提交后继续考试 --- src/views/grade/components/answer-main/answer-determine/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/grade/components/answer-main/answer-determine/index.vue b/src/views/grade/components/answer-main/answer-determine/index.vue index 5f23935..e29e3f8 100644 --- a/src/views/grade/components/answer-main/answer-determine/index.vue +++ b/src/views/grade/components/answer-main/answer-determine/index.vue @@ -1,6 +1,6 @@ <!-- 鍒ゆ柇棰� --> <template> - <div class="answer-container w-full h-full"> + <div class="answer-container w-full h-full flex"> <el-scrollbar class="flex-1 mr-4"> <ExamInfo class="mb-5" :questionIndex="currentIndex" :activeQuestion="activeQuestion"></ExamInfo> @@ -38,12 +38,12 @@ import { ref, computed } from 'vue'; import { storeToRefs } from 'pinia'; import ExamInfo from '@/components/ExamInfo/index.vue'; -import { useExamStore } from '@/store/index.js'; -const examStore = useExamStore(); +import { useGradeStore } from '@/store/index.js'; +const gradeStore = useGradeStore(); -const { currentType, currentIndex } = storeToRefs(examStore); +const { currentType, currentIndex } = storeToRefs(gradeStore); -const activeQuestion = ref(examStore.getActiveQuestion); +const activeQuestion = ref(gradeStore.getActiveQuestion); const answerState = (item) => { -- Gitblit v1.8.0