diff --git a/public/react/src/modules/page/Index.js b/public/react/src/modules/page/Index.js index 3a273e0d6..c695a0022 100644 --- a/public/react/src/modules/page/Index.js +++ b/public/react/src/modules/page/Index.js @@ -243,6 +243,7 @@ class Index extends Component { time_limit={context.time_limit + 5} + real_time_limit={context.time_limit} resetTestSetsExpandedArray={context.resetTestSetsExpandedArray} onRunCodeTestFinish={context.onRunCodeTestFinish} diff --git a/public/react/src/modules/page/main/ActionView.js b/public/react/src/modules/page/main/ActionView.js index 0a1faa7ea..1a887fa75 100644 --- a/public/react/src/modules/page/main/ActionView.js +++ b/public/react/src/modules/page/main/ActionView.js @@ -66,7 +66,7 @@ class ActionView extends Component { /*耗时:0 天 3 小时 11 分钟 57 秒 */ render() { const { onRunCodeTest, onShowPrevStage, onShowNextStage, gameBuilding - , game, classes, st, shixun, record, challenge, time_limit } = this.props; + , game, classes, st, shixun, record, challenge, time_limit, real_time_limit } = this.props; return (