| | |
| | | }; |
| | | }; |
| | | |
| | | const answerChange = (index) => { |
| | | const answerChange = () => { |
| | | examStore.setQuestionAnswerList(currentType.value, currentIndex.value, answerList.value); |
| | | } |
| | | |
| | |
| | | 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] = ''; |
| | | } |
| | | }); |
| | | }) |
| | |
| | | .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> |