From f618ca305fe9aafcfec27fb38809d92bec9fcf20 Mon Sep 17 00:00:00 2001 From: caicai8 <1149225589@qq.com> Date: Wed, 11 Mar 2020 14:40:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/common/course/WordsBtn.js | 4 ++-- .../src/modules/courses/Video/LiveItem.js | 24 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/public/react/src/common/course/WordsBtn.js b/public/react/src/common/course/WordsBtn.js index 6828cca99..7fdb08d15 100644 --- a/public/react/src/common/course/WordsBtn.js +++ b/public/react/src/common/course/WordsBtn.js @@ -13,14 +13,14 @@ class WordsBtn extends Component { { to==undefined&&targets==undefined ? - {this.props.children}: targets!=undefined? {this.props.children} : - {this.props.children} } diff --git a/public/react/src/modules/courses/Video/LiveItem.js b/public/react/src/modules/courses/Video/LiveItem.js index b71e5b02b..b54b0f03d 100644 --- a/public/react/src/modules/courses/Video/LiveItem.js +++ b/public/react/src/modules/courses/Video/LiveItem.js @@ -158,18 +158,18 @@ class LiveItem extends Component{ { item.live_time && 开播时间:{item.live_time}} { item.duration && 直播预计时长:{item.duration}分钟 } - - { - item.op_auth ? - setLiveId(item.id)}>编辑:"" - } - { - item.delete_auth ? - this.deleteLive(item.id)}>删除 - :"" - } - -

+ + { + item.op_auth ? + setLiveId(item.id)}>编辑:"" + } + { + item.delete_auth ? + this.deleteLive(item.id)}>删除 + :"" + } + +

) }