From 121027276b0e8be7bc8a070e9347a2eb3da72c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 7 Mar 2020 00:30:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/redux/actions/ojForm.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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',