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)}>删除 + :"" + } + +

) }