From 4d28d7dfbe09f4d5d59aaff007afe472192a76ab Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期四, 20 六月 2024 14:03:25 +0800 Subject: [PATCH] build:添加mock依赖 --- src/views/exam/index.vue | 19 ++++--------------- 1 files changed, 4 insertions(+), 15 deletions(-) diff --git a/src/views/exam/index.vue b/src/views/exam/index.vue index 2866539..ce873c5 100644 --- a/src/views/exam/index.vue +++ b/src/views/exam/index.vue @@ -125,7 +125,7 @@ <el-icon :size="50" color="#3680fa"><Timer /></el-icon> </div> <div class="dialog-info"> - 鑰冭瘯鏃堕棿鍒帮紝绯荤粺鑷姩鏀跺嵎涓�....... + 鑰冭瘯缁撴潫锛岀郴缁熻嚜鍔ㄦ敹鍗蜂腑....... </div> </div> </el-dialog> @@ -162,6 +162,7 @@ const quitDialog = ref(false); const submitDialog = ref(false); const timeDialog = ref(false); + const prevQuestion = () => { currentIndex.value--; @@ -204,20 +205,10 @@ currentIndex.value = 0; } } - // findQuestion(currentType.value, currentIndex.value); } }; -const findQuestion = (type, index) => { - const typeQuestion = examDetail.value.find(typeItem => typeItem.questionType === type); - if (typeQuestion) { - const question = typeQuestion.questionList[index]; - if (question) { - examStore.setActiveQuestion(question); - } - } -}; // 閫�鍑鸿�冭瘯 const closeClick = () => { @@ -225,8 +216,7 @@ }; const confirmQuit = () => { - quitDialog.value = false; - router.back(); + timeOut(); }; // 浜ゅ嵎 @@ -235,8 +225,7 @@ }; const confirmSubmit = () => { - submitDialog.value = false; - router.back(); + timeOut(); }; const resetAllDialog = () => { -- Gitblit v1.8.0