测试用例判断

dev_aliyun2
杨树林 5 years ago committed by harry
parent 247c7427ce
commit e54f83e4b4

@ -142,9 +142,14 @@ export const validateOjForm = (props, type, cb) => {
// 非空校验
let validateResult = emptyValidate(key, value);
const errMsg = validateResult[key].errMsg;
// console.log("-------");
// console.log(errMsg);
// console.log(key);
// console.log(value);
if (errMsg) {
if(key==="output"){
hasSuccess = false;
if(tcbool===false){
tcbool=true
notification['error']({
@ -153,6 +158,8 @@ export const validateOjForm = (props, type, cb) => {
});
}
}
} else {
// 唯一性校验

Loading…
Cancel
Save