|
|
|
@ -617,10 +617,10 @@ class MainContentContainer extends Component {
|
|
|
|
|
// 之前的task_commit方法
|
|
|
|
|
gameBuild(fileUpdateResponse, first) {
|
|
|
|
|
const { st, challenge, output_sets, onRunCodeTestFinish, resetTestSetsExpandedArray, showSnackbar, time_limit } = this.props
|
|
|
|
|
const { resubmit, content_modified } = fileUpdateResponse.data;
|
|
|
|
|
const { resubmit, content_modified, sec_key } = fileUpdateResponse.data;
|
|
|
|
|
const timeOut = time_limit;
|
|
|
|
|
// http://localhost:3000/myshixuns/so5w6iap97/stages/zl6kx8f7vfpo/game_build?first=1&resubmit=GDBEX741_1993
|
|
|
|
|
const game_build_url = `${locationPath}/game_build?first=${first}&resubmit=${resubmit}&content_modified=${content_modified}`
|
|
|
|
|
const game_build_url = `${locationPath}/game_build?first=${first}&resubmit=${resubmit}&content_modified=${content_modified}&sec_key=${sec_key}`
|
|
|
|
|
// var timeOut = parseInt(<%= @myshixun.main_mirror.try(:time_limit) %>); // 超时参数
|
|
|
|
|
resetTestSetsExpandedArray()
|
|
|
|
|
axios.get(game_build_url, {
|
|
|
|
|