real_time_limit

dev_hs
hjm 5 years ago
parent 6e7c302c9c
commit 1651aabe9c

@ -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}

@ -66,7 +66,7 @@ class ActionView extends Component {
/*<span className="mt10 -flex c_grey ml15" id="time-consuming">耗时0 天 3 小时 11 分钟 57 秒 </span>*/
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 (
<div className="-flex -layout-h" id="game_operate_action">
<style>{`
@ -76,7 +76,7 @@ class ActionView extends Component {
`}</style>
<span className="mt10 -flex c_grey ml15" id="time-consuming">
{!!time_limit &&
<span className="time_limit">{`本关最大执行时间:${time_limit}`}</span>}
<span className="time_limit">{`本关最大执行时间:${real_time_limit}`}</span>}
{!gameBuilding && record ?
<Tooltip title={ "本次评测耗时(编译、运行总时间)" }>
<span>{ record } </span>

Loading…
Cancel
Save