diff --git a/public/react/src/modules/courses/busyWork/CommonWorkSetting.js b/public/react/src/modules/courses/busyWork/CommonWorkSetting.js index 72987d2ca..56eabb375 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkSetting.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkSetting.js @@ -49,6 +49,8 @@ class CommonWorkSetting extends Component{ super(props) this.publishModal = React.createRef(); this.endModal = React.createRef(); + this.fetchMoment = moment() + this.state={ unified_setting: true, rules: [], @@ -123,6 +125,7 @@ class CommonWorkSetting extends Component{ } else if (result.data.publish_time && moment(result.data.publish_time) < moment()) { disable_unified_setting = true } + this.fetchMoment = moment() this.setState({ // starttimetype:starttype, // endtimetype:endtype, @@ -1042,7 +1045,7 @@ class CommonWorkSetting extends Component{ {/* */} - + 截止时间: {/* */} - + - 允许补交 + 允许补交 迟交扣分: @@ -1146,7 +1149,7 @@ class CommonWorkSetting extends Component{ 结束时间: - + - 禁止补交 + 禁止补交 @@ -1194,7 +1197,7 @@ class CommonWorkSetting extends Component{ 开启时间: - + */} - + 结束时间: {/* */} - +