From eee0af098e5acf66d729fbeb0e440e96208053f8 Mon Sep 17 00:00:00 2001 From: 消逝 <1425768167@qq.com> Date: 星期四, 11 七月 2024 13:46:31 +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