diff --git a/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js b/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js index 3792f8635..91edc45fe 100644 --- a/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js +++ b/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js @@ -67,7 +67,7 @@ class ShixunHomeworkPage extends Component { } componentDidMount() { - console.log("父组件加载框"); + // console.log("父组件加载框"); const query = this.props.location.search; const type = query.split('?tab='); // let sum = [] diff --git a/public/react/src/modules/courses/shixunHomework/Shixunworkdetails/ShixunWorkModal.js b/public/react/src/modules/courses/shixunHomework/Shixunworkdetails/ShixunWorkModal.js index b60cb8261..f1d1c43f3 100644 --- a/public/react/src/modules/courses/shixunHomework/Shixunworkdetails/ShixunWorkModal.js +++ b/public/react/src/modules/courses/shixunHomework/Shixunworkdetails/ShixunWorkModal.js @@ -1,6 +1,7 @@ import React,{ Component } from "react"; import { Modal,Checkbox,notification} from "antd"; import axios from 'axios'; +import {getImageUrl} from 'educoder'; class ShixunWorkModal extends Component{ constructor(props){ @@ -251,6 +252,18 @@ class ShixunWorkModal extends Component{ {course_groups===undefined?"": + group_list===undefined||JSON.stringify(group_list)==="[]" + ? +
没有数据可以显示!
+