ZhangXianQiang
2024-06-19 cd1dd3fbf1d19c4a54b954975591408b1317190e
src/views/exam/index.vue
@@ -50,7 +50,7 @@
          <div class="answer-wrapper answer-right grow shadow-xl p-4">
            <div class="wrapper h-full flex flex-col">
              <div class="title-wrapper w-full flex mb-5">
                <div class="title text-xl font-semibold ">单选题 (3分)</div>
                <div class="title text-xl font-semibold ">{{ examType[currentType] }} ({{ examStore.getActiveQuestion.score}}分)</div>
              </div>
              <div class="main-wrapper w-full grow relative my-5">
@@ -112,7 +112,7 @@
const router = useRouter();
const examStore = useExamStore();
const { currentType, currentIndex, examDetail } = storeToRefs(examStore);
const { currentType, currentIndex, examDetail, examType } = storeToRefs(examStore);
const typeComponent = {
  1: AnswerSingle,