From 15798db9ff712631a06f7e98bdf7104f769ae8c0 Mon Sep 17 00:00:00 2001 From: caicai8 <1149225589@qq.com> Date: Mon, 10 Feb 2020 19:09:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/Video/Live.js | 4 +++- public/react/src/modules/courses/Video/LiveNew.js | 5 ++++- public/react/src/modules/courses/Video/Video.js | 4 +++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/courses/Video/Live.js b/public/react/src/modules/courses/Video/Live.js index 21203083e..f8c39a000 100644 --- a/public/react/src/modules/courses/Video/Live.js +++ b/public/react/src/modules/courses/Video/Live.js @@ -38,7 +38,9 @@ class Live extends Component{ } : - +
+ +
} ) diff --git a/public/react/src/modules/courses/Video/LiveNew.js b/public/react/src/modules/courses/Video/LiveNew.js index 68f784421..897dd714a 100644 --- a/public/react/src/modules/courses/Video/LiveNew.js +++ b/public/react/src/modules/courses/Video/LiveNew.js @@ -10,12 +10,15 @@ class LiveNew extends Component{ constructor(props){ super(props); this.state={ - isSpining:true + isSpining:false } } componentDidUpdate=(prevState)=>{ if(prevState && prevState.liveId !== this.props.liveId){ + this.setState({ + isSpining:true + }) this.checkType(); } } diff --git a/public/react/src/modules/courses/Video/Video.js b/public/react/src/modules/courses/Video/Video.js index a9492a252..e15ddf6d4 100644 --- a/public/react/src/modules/courses/Video/Video.js +++ b/public/react/src/modules/courses/Video/Video.js @@ -203,7 +203,9 @@ class Video extends Component{ : - +
+ +
} {