From 621b71bb1cc0dc383db1e4b89c9413bb9925b231 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期三, 20 十一月 2024 16:54:32 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TextbookReader --- src/views/examination/components/sheet.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/examination/components/sheet.vue b/src/views/examination/components/sheet.vue index 3af01de..d7865e6 100644 --- a/src/views/examination/components/sheet.vue +++ b/src/views/examination/components/sheet.vue @@ -65,7 +65,7 @@ </li> </ul> <div class="sheet-btn"> - <el-button @click="saveData"> + <el-button @click="saveData" v-if="!submitStatus"> 鎻愪氦 </el-button> </div> @@ -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