From 30e6fc6f488c0536e187d30f59ea46126a0fa8ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Wed, 18 Mar 2020 15:15:44 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/src/modules/courses/Video/VideoIndex.js | 3 ++-
.../react/src/modules/courses/signin/student/Signedinlist.js | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/public/react/src/modules/courses/Video/VideoIndex.js b/public/react/src/modules/courses/Video/VideoIndex.js
index 4b8cab735..0815bc8aa 100644
--- a/public/react/src/modules/courses/Video/VideoIndex.js
+++ b/public/react/src/modules/courses/Video/VideoIndex.js
@@ -361,10 +361,11 @@ class VideoIndex extends Component {
{
videoId ?
""
- :
+ :videos&&videos.length>0?
this.statisticsy(true)}
>统计
+ :""
}
diff --git a/public/react/src/modules/courses/signin/student/Signedinlist.js b/public/react/src/modules/courses/signin/student/Signedinlist.js
index fdff25ba0..f28cd170a 100644
--- a/public/react/src/modules/courses/signin/student/Signedinlist.js
+++ b/public/react/src/modules/courses/signin/student/Signedinlist.js
@@ -337,11 +337,11 @@ class Signedinlist extends Component {
- {this.props.defaultActiveKey==="2"?
+ {this.props.defaultActiveKey==="2"?
正常签到:{data&&data.normal_count}
请假:{data&&data.leave_count}
旷课:{data&&data.absence_count}
- :
+ :
已签到:{this.state.course_members_count}
应签到:{this.state.attendance_count}
}