diff --git a/public/react/src/modules/courses/Video/Video.js b/public/react/src/modules/courses/Video/Video.js index d92d7addc..188a0cfe2 100644 --- a/public/react/src/modules/courses/Video/Video.js +++ b/public/react/src/modules/courses/Video/Video.js @@ -147,6 +147,7 @@ class Video extends Component{ }).then(result=>{ if(result){ this.props.showNotification(`删除成功!`); + this.props.updataleftNavfun(); const { listFunc , page } = this.props; listFunc && listFunc(page); } diff --git a/public/react/src/modules/courses/Video/VideoIndex.js b/public/react/src/modules/courses/Video/VideoIndex.js index ec1c0d4f5..070b76bbc 100644 --- a/public/react/src/modules/courses/Video/VideoIndex.js +++ b/public/react/src/modules/courses/Video/VideoIndex.js @@ -180,6 +180,7 @@ class VideoIndex extends Component{ render(){ const { videos , upload , videoData , type , liveData , lives , page , liveVisible , isSpining , liveId } = this.state; const { admin , is_teacher , business } = this.props.user; + // console.log("p",this.props); return(