video_transcode
杨树明 5 years ago
parent da73d9cd05
commit a84eeb2c95

@ -121,7 +121,7 @@ export const validateOjForm = (props, type, cb) => {
const validateResult = emptyValidate(key, value);
const errMsg = validateResult[key].errMsg;
if (errMsg) {
hasSuccess = false;
// hasSuccess = false;
dispatch(
{
type: maps[key].type,
@ -142,7 +142,7 @@ export const validateOjForm = (props, type, cb) => {
let validateResult = emptyValidate(key, value);
const errMsg = validateResult[key].errMsg;
if (errMsg) {
hasSuccess = false;
// hasSuccess = false;
} else {
// 唯一性校验
const bool = testCases.some((item, j) => {
@ -154,7 +154,7 @@ export const validateOjForm = (props, type, cb) => {
});
if (bool) {
hasSuccess = false;
// hasSuccess = false;
validateResult = {
[key]: {
validateStatus: 'error',

Loading…
Cancel
Save