ZhangXianQiang
2024-07-01 5afacb2b6f2656b7fc611489fe0b70746d56bffb
fix:填空题
1个文件已修改
15 ■■■■ 已修改文件
src/views/exam/components/answer-main/answer-fill/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>