修修改了添加问题页面js变量名,添加问题功能正常[CI SKIP]

This commit is contained in:
esp
2015-08-17 10:19:21 +08:00
parent 3226727703
commit bc18c1125c
2 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ require(["jquery", "avalon", "editor", "uploader", "bsAlert", "csrfToken", "tagE
}
}
},
cpu: {
timeLimit: {
validators: {
notEmpty: {
message: "请输入时间限制"
@@ -34,7 +34,7 @@ require(["jquery", "avalon", "editor", "uploader", "bsAlert", "csrfToken", "tagE
}
}
},
memory: {
memoryLimit: {
validators: {
notEmpty: {
message: "请输入内存限制"
@@ -156,8 +156,8 @@ require(["jquery", "avalon", "editor", "uploader", "bsAlert", "csrfToken", "tagE
$id: "addProblem",
title: "",
description: "",
cpu: 1000,
memory: 256,
timeLimit: 1000,
memoryLimit: 256,
samples: [{input: "", output: "", "visible": true}],
hint: "",
visible: true,
@@ -215,4 +215,4 @@ require(["jquery", "avalon", "editor", "uploader", "bsAlert", "csrfToken", "tagE
});
});
avalon.scan();
});
});