From 5afacb2b6f2656b7fc611489fe0b70746d56bffb Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期一, 01 七月 2024 15:18:50 +0800 Subject: [PATCH] fix:填空题 --- src/views/exam/components/answer-main/answer-fill/index.vue | 15 ++++----------- 1 files changed, 4 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..45947f6 100644 --- a/src/views/exam/components/answer-main/answer-fill/index.vue +++ b/src/views/exam/components/answer-main/answer-fill/index.vue @@ -53,7 +53,7 @@ }; }; -const answerChange = (index) => { +const answerChange = () => { examStore.setQuestionAnswerList(currentType.value, currentIndex.value, answerList.value); } @@ -61,9 +61,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 +110,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