diff --git a/public/react/src/modules/page/main/CodeEvaluateMultiLevelAnswerUnlock.js b/public/react/src/modules/page/main/CodeEvaluateMultiLevelAnswerUnlock.js index 8a0430c8f..672fc26a6 100644 --- a/public/react/src/modules/page/main/CodeEvaluateMultiLevelAnswerUnlock.js +++ b/public/react/src/modules/page/main/CodeEvaluateMultiLevelAnswerUnlock.js @@ -28,7 +28,7 @@ class CodeEvaluateMultiLevelAnswerUnlock extends Component { } render() { - const { shixun, challenge, lockedAnswers } = this.props; + const { shixun, challenge, lockedAnswers, unlockedAnswers } = this.props; const { currentLevel } = this.state; return (
@@ -85,7 +85,7 @@ class CodeEvaluateMultiLevelAnswerUnlock extends Component { this.onLevelClick(item, index)} checked={currentLevel>=index}>
-
{index + 1}
+
{index + 1 + (unlockedAnswers && unlockedAnswers.length || 0) }
{item.name}
{item.score}%
{challenge.score * item.score / 100}