From f0c2c003738addcc452c4e7a001481f245056dec Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 28 六月 2024 12:00:42 +0800 Subject: [PATCH] 题库优化 --- src/views/examination/components/sheet.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/examination/components/sheet.vue b/src/views/examination/components/sheet.vue index 3af01de..32412d7 100644 --- a/src/views/examination/components/sheet.vue +++ b/src/views/examination/components/sheet.vue @@ -102,8 +102,8 @@ import { defineProps, watch, ref, computed, defineEmits, onMounted } from 'vue' const props = defineProps<{ cardList: any - submitStatus: boolean - answerType: string, + submitStatus: Boolean + answerType: String, }>() @@ -113,7 +113,7 @@ document.getElementById(`listItem-${id}`)!.scrollIntoView() } // 鍒ゆ柇鏄惁杈撳叆绛旀 -const isHaveAnswer = (data) => { +const isHaveAnswer = (data:any) => { if (typeof data == 'string') { data = data .replace(/<[^>]*>/g, '') -- Gitblit v1.9.1