This commit is contained in:
wjn 2024-04-18 15:41:39 +08:00
parent 354e056930
commit ad4e4503a9

View File

@ -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',