diff --git a/public/react/src/redux/actions/ojForm.js b/public/react/src/redux/actions/ojForm.js index 3a66c99e5..05b5279e2 100644 --- a/public/react/src/redux/actions/ojForm.js +++ b/public/react/src/redux/actions/ojForm.js @@ -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',