直播设置

dev_video
caicai8 5 years ago
parent b5312a9d0c
commit 15798db9ff

@ -38,7 +38,9 @@ class Live extends Component{
}
</React.Fragment>
:
<NoneData style={{width: '100%'}}></NoneData>
<div className="edu-back-white">
<NoneData style={{width: '100%'}}></NoneData>
</div>
}
</div>
)

@ -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();
}
}

@ -203,7 +203,9 @@ class Video extends Component{
</div>
</React.Fragment>
:
<NoneData style={{width: '100%'}}></NoneData>
<div className="edu-back-white">
<NoneData style={{width: '100%'}}></NoneData>
</div>
}
{

Loading…
Cancel
Save