|
|
@ -168,13 +168,13 @@ export const validateOjForm = (props, type, cb) => {
|
|
|
|
tcValidResult.push(tempObj);
|
|
|
|
tcValidResult.push(tempObj);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (testCases.length === 0) {
|
|
|
|
// if (testCases.length === 0) {
|
|
|
|
hasSuccess = false;
|
|
|
|
// hasSuccess = false;
|
|
|
|
notification['error']({
|
|
|
|
// notification['error']({
|
|
|
|
message: '提示',
|
|
|
|
// message: '提示',
|
|
|
|
description: '测试用例必须输入!'
|
|
|
|
// description: '测试用例必须输入!'
|
|
|
|
});
|
|
|
|
// });
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
// if (!code) {
|
|
|
|
// if (!code) {
|
|
|
|
// hasSuccess = false;
|
|
|
|
// hasSuccess = false;
|
|
|
|