dev_forum
杨树明 6 years ago
parent 4f9ea0aa6c
commit bd9c7bf622

@ -1941,6 +1941,8 @@ class Listofworksstudentone extends Component {
axios.get(url).then((response) => {
if (response.status === 200) {
let starttime = this.props.getNowFormatDates(1);
let endtime = this.props.getNowFormatDates(2);
this.setState({
modalname: "立即发布",
modaltype: response.data.course_groups === null || response.data.course_groups.length === 0 ? 2 : 1,
@ -1958,8 +1960,7 @@ class Listofworksstudentone extends Component {
Saves: this.homeworkstartend,
course_groups: response.data.course_groups,
})
let starttime = this.props.getNowFormatDates(1);
let endtime = this.props.getNowFormatDates(2);
}
}).catch((error) => {
console.log(error)

Loading…
Cancel
Save