@ -284,7 +284,7 @@ class ListPageIndex extends Component{
}
></Route>
{/* 主签到 */}
<Route path="/classrooms/:coursesId/signin"
<Route path="/classrooms/:coursesId/attendances"
render={
(props) => (<Signinmain {...this.props} {...props} {...this.state} />)
@ -38,18 +38,7 @@ class Detailss extends Component{
componentDidMount() {
const switattendance_id=this.props.switattendance_id;
let urls = `/weapps/attendances/${switattendance_id}.json`;
axios.get(urls).then((response) => {
//.log(response);
if(response){
if(response.data){
console.log("历史数据")
console.log(response.data)
})
componentDidUpdate = (prevProps) => {
@ -13,7 +13,18 @@ class Signindetails extends Component{