@ -822,6 +822,7 @@ app.get('/problem/:id/statistics/:type', async (req, res) => {
}
});
/*
app.post('/problem/:id/custom-test', app.multer.fields([{ name: 'code_upload', maxCount: 1 }, { name: 'input_file', maxCount: 1 }]), async (req, res) => {
try {
let id = parseInt(req.params.id);
@ -878,3 +879,4 @@ app.post('/problem/:id/custom-test', app.multer.fields([{ name: 'code_upload', m
*/
@ -333,7 +333,7 @@ div[class*=ace_br] {
</div>
<div class="ui center aligned vertical segment" style="padding-bottom: 0; ">
<button type="submit" class="ui button">提交</button>
<div onclick="show_custom_test()" class="ui positive button">自定义测试</div>
<!--div onclick="show_custom_test()" class="ui positive button">自定义测试</div-->
<% } %>
</form>