|
|
|
|
@ -1629,7 +1629,7 @@ var scoreStatusMapping = {
|
|
|
|
|
1: 'c-green'
|
|
|
|
|
};
|
|
|
|
|
var Simple = function Simple(_ref) {
|
|
|
|
|
var _answerData$exercise, _answerData$exercise2, _item$user_answer, _item$user_answer2;
|
|
|
|
|
var _item$standard_answer, _answerData$exercise, _answerData$exercise2, _item$user_answer, _item$user_answer2;
|
|
|
|
|
var item = _ref.item,
|
|
|
|
|
answerData = _ref.answerData,
|
|
|
|
|
isEducation = _ref.isEducation,
|
|
|
|
|
@ -1681,7 +1681,7 @@ var Simple = function Simple(_ref) {
|
|
|
|
|
};
|
|
|
|
|
}, []);
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [(item === null || item === void 0 ? void 0 : item.standard_answer.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [(item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "mb20",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
justify: "space-between",
|
|
|
|
|
@ -4139,6 +4139,9 @@ var Answer = function Answer(_ref) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(components_Simple, {
|
|
|
|
|
item: item,
|
|
|
|
|
answerData: answerData,
|
|
|
|
|
setKnowledgeDialog: function setKnowledgeDialog() {
|
|
|
|
|
return _setKnowledgeDialog(true);
|
|
|
|
|
},
|
|
|
|
|
onBlur: function onBlur(value, hideLoading) {
|
|
|
|
|
return handleBlurSimple(value, item === null || item === void 0 ? void 0 : item.question_id, item, hideLoading);
|
|
|
|
|
},
|