oj 时间没输入 禁止提交

dev_aliyun2
杨树林 5 years ago committed by harry
parent 3c1fb1a289
commit aa26eed52f

@ -168,6 +168,13 @@ export const validateOjForm = (props, type, cb) => {
tcValidResult.push(tempObj);
});
if(ojForm.timeLimit===null){
hasSuccess = false;
notification['error']({
message: '提示',
description: '时间限制必须输入!'
});
}
// if (testCases.length === 0) {
// hasSuccess = false;
// notification['error']({

Loading…
Cancel
Save