删除 js 中对时间的限制

This commit is contained in:
virusdefender
2015-08-31 18:08:40 +08:00
parent 2033daf46f
commit 931b888b13
2 changed files with 4 additions and 8 deletions

View File

@@ -13,10 +13,6 @@ require(["jquery", "avalon", "editor", "uploader", "bsAlert", "csrfToken", "tagE
bsAlert("题目描述不能为空!");
return false;
}
if (vm.timeLimit < 1000 || vm.timeLimit > 5000) {
bsAlert("保证时间限制是一个1000-5000的合法整数");
return false;
}
if (vm.samples.length == 0) {
bsAlert("请至少添加一组样例!");
return false;