From fbd9c491ebe32558c8fcefffeaa103d2fcb79a27 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 31 十月 2024 20:40:48 +0800
Subject: [PATCH] 查看试卷bug
---
src/views/exam/components/answer-main/answer-fill/index.vue | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/src/views/exam/components/answer-main/answer-fill/index.vue b/src/views/exam/components/answer-main/answer-fill/index.vue
index 2f85957..f594f27 100644
--- a/src/views/exam/components/answer-main/answer-fill/index.vue
+++ b/src/views/exam/components/answer-main/answer-fill/index.vue
@@ -1,3 +1,4 @@
+<!-- 濉┖棰� -->
<template>
<div class="answer-container w-full h-full">
<el-scrollbar>
@@ -53,7 +54,7 @@
};
};
-const answerChange = (index) => {
+const answerChange = () => {
examStore.setQuestionAnswerList(currentType.value, currentIndex.value, answerList.value);
}
@@ -61,9 +62,9 @@
watchEffect(() => {
activeQuestion.value.questionItemList.forEach((item, index) => {
if(Array.isArray(activeQuestion.value.answerList)) {
- answerList[index] = activeQuestion.value.answerList[index];
+ answerList.value[index] = activeQuestion.value.answerList[index];
} else {
- answerList[index] = '';
+ answerList.value[index] = '';
}
});
})
@@ -110,15 +111,8 @@
.answer-input {
width: 100%;
border: 0;
-
- .el-input__wrapper,
- .is-focus {
+ :deep(.el-input__wrapper) {
box-shadow: none !important;
}
-
- .el-input__wrapper:hover {
- box-shadow: none !important;
- }
-
}
</style>
\ No newline at end of file
--
Gitblit v1.8.0