Auto Submit

dev_local_v9_gfkjdx
autosubmit 1 year ago
parent 3bf1418749
commit def424bd9b

@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.b2b31a03.js"></script>
<script src="/react/build/umi.90966664.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -5063,24 +5063,23 @@ var Answer = function Answer(_ref) {
if (item.question_type === key) {
var _answerData$exercise21, _answerData$question_7;
if (answerData !== null && answerData !== void 0 && (_answerData$exercise21 = answerData.exercise) !== null && _answerData$exercise21 !== void 0 && _answerData$exercise21.open_score) {
var _item$answer_comments2;
if (item.question_type === 4) {
var _item$answer_comments;
if ((item === null || item === void 0 || (_item$answer_comments = item.answer_comments) === null || _item$answer_comments === void 0 ? void 0 : _item$answer_comments.length) > 0) {
classNames = Answermodules.green;
} else {
classNames = Answermodules.grey;
}
} else if (Number(item.question_score) === Number(item.user_score)) {
// if (item.question_type === 4) {
// if (item?.answer_comments?.length > 0) {
// classNames = styles.green
// } else {
// classNames = styles.grey
// }
// } else
if (Number(item.question_score) === Number(item.user_score)) {
classNames = Answermodules.green;
} else if (item.user_score > 0) {
classNames = Answermodules.orange;
} else {
classNames = Answermodules.red;
}
if ((item === null || item === void 0 || (_item$answer_comments2 = item.answer_comments) === null || _item$answer_comments2 === void 0 ? void 0 : _item$answer_comments2.length) > 0) {
classNames = Answermodules.green;
}
// if (item?.answer_comments?.length > 0) {
// classNames = styles.green
// }
}
// 为交卷逻辑
return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save