From ad4e4503a9446510655756c13ce8a4b1cecf697b Mon Sep 17 00:00:00 2001 From: wjn Date: Thu, 18 Apr 2024 15:41:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/SE/SESafeSurveyTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CustomPages/SE/SESafeSurveyTest.js b/src/components/CustomPages/SE/SESafeSurveyTest.js index 7089df9..410ee78 100644 --- a/src/components/CustomPages/SE/SESafeSurveyTest.js +++ b/src/components/CustomPages/SE/SESafeSurveyTest.js @@ -128,7 +128,7 @@ class SESafeSurveyTest extends React.Component { NAME = ret.Nav_Papers[0].Nav_Safe.NAME; END_TIME = ret.Nav_Papers[0].Nav_Safe.END_TIME; } - if (moment().format("YYYY-MM-DD HH:mm:ss") < END_TIME) { + if (moment().format("YYYY-MM-DD HH:mm:ss") < END_TIME && this.props.data.tableKey != undefined) { message.error('已过答题截止时间!'); this.props.dispatch({ type: 'app/getDataByPost',