修修改了添加问题页面js变量名,添加问题功能正常[CI SKIP]
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user