|
|
|
@ -41,6 +41,7 @@ class VideoIndex extends Component {
|
|
|
|
|
|
|
|
|
|
liveVisible: false,
|
|
|
|
|
statistics: false,
|
|
|
|
|
myktid:null,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -55,7 +56,11 @@ class VideoIndex extends Component {
|
|
|
|
|
this.getLiveList(page);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Setmyktid=(id)=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
myktid:id
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
componentDidMount = () => {
|
|
|
|
|
const {search} = this.props.location;
|
|
|
|
|
const {page} = this.state;
|
|
|
|
@ -377,6 +382,7 @@ class VideoIndex extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
|
|
|
|
|
<Videostatistics {...this.props} {...this.state} statisticsy={(b) => this.statisticsy(b)}></Videostatistics>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -388,6 +394,7 @@ class VideoIndex extends Component {
|
|
|
|
|
type === "video" ?
|
|
|
|
|
<Videos
|
|
|
|
|
mykt={"mykt"}
|
|
|
|
|
Setmyktid={(id)=>this.Setmyktid(id)}
|
|
|
|
|
upload={upload}
|
|
|
|
|
videos={videos}
|
|
|
|
|
page={page}
|
|
|
|
|