From 8f67f721e7e6ef9c1c8b116de7f7b9b4f73db1aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Tue, 24 Mar 2020 17:38:33 +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/LiveItem.js | 12 ++++++------ .../courses/exercise/Studentshavecompletedthelist.js | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/public/react/src/modules/courses/Video/LiveItem.js b/public/react/src/modules/courses/Video/LiveItem.js index b54b0f03d..c0cef91c4 100644 --- a/public/react/src/modules/courses/Video/LiveItem.js +++ b/public/react/src/modules/courses/Video/LiveItem.js @@ -24,7 +24,7 @@ class LiveItem extends Component{ visible:false } } - + deleteLive=(id)=>{ this.props.confirm({ content: '是否确认删除?', @@ -136,7 +136,7 @@ class LiveItem extends Component{ item.url ? { - wei_flag ? + wei_flag ? 进入 : 进入 @@ -154,17 +154,17 @@ class LiveItem extends Component{ {`${item.author_name}`} - { item.platform && 直播平台:{item.platform} } - { item.live_time && 开播时间:{item.live_time}} + { item.platform && 直播平台:{item.platform} } + { item.live_time && 开播时间:{item.live_time}} { item.duration && 直播预计时长:{item.duration}分钟 } - + { item.op_auth ? setLiveId(item.id)}>编辑:"" } { - item.delete_auth ? + item.delete_auth ? this.deleteLive(item.id)}>删除 :"" } diff --git a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js index 5d3579238..b3f126e9f 100644 --- a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js +++ b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js @@ -35,7 +35,6 @@ let mysubjective_score = 0;//主观题得分 let myobjective_score = 0;//客观题得分 class Studentshavecompletedthelist extends Component { - // http://localhost:3007/courses/1309/exercises/722/exercises/student_exercise_list?debug=s constructor(props) { super(props); this.state = {