diff --git a/public/react/src/modules/courses/signin/student/Signedinlist.js b/public/react/src/modules/courses/signin/student/Signedinlist.js index 02cd231fc..1f1074b49 100644 --- a/public/react/src/modules/courses/signin/student/Signedinlist.js +++ b/public/react/src/modules/courses/signin/student/Signedinlist.js @@ -3,6 +3,7 @@ import React,{ Component } from "react"; import { Row, Col,Select,Table,Pagination } from 'antd'; import axios from 'axios'; import LoadingSpin from "../../../../common/LoadingSpin"; +import NoneDatas from "../component/NoneDatas"; const { Option } = Select; class Signedinlist extends Component { @@ -80,10 +81,13 @@ class Signedinlist extends Component { this.setState({ member_attendances:response.data.member_attendances, members_count:response.data.members_count, - loading:false + }) } + this.setState({ + loading:false + }) }).catch((error) => { that.setState({ loading:false @@ -295,12 +299,21 @@ class Signedinlist extends Component {
{ + this.state.loading===true? +
+ +
+ : member_attendances&&member_attendances.length===0?
- + {/**/} +
+ : // loading={this.state.loading} @@ -310,9 +323,14 @@ class Signedinlist extends Component {
- + { + member_attendances&&member_attendances.length>0? + + :"" + } +