diff --git a/public/react/src/modules/courses/Video/Video.js b/public/react/src/modules/courses/Video/Video.js index 8dbd5ee03..e9a90c918 100644 --- a/public/react/src/modules/courses/Video/Video.js +++ b/public/react/src/modules/courses/Video/Video.js @@ -203,6 +203,7 @@ class Video extends Component { const operation = admin || business; const {course_identity} = this.props.coursedata; const flagMove = parseInt(course_identity) < 5; + return (
0 ? +

{videoData && videoData.count} 个视频

{ videos.map((item, key) => { + console.log(course_identity > 2 && item.user_id === user_id) return ( this.moveVideo(item.id,(course_identity > 2 && item.user_id === user_id)):undefined} + moveVideo={videoData && videoData.has_category && flagMove ? ()=>this.moveVideo(item.id,(course_identity > 2 && item.user_id !== user_id)):undefined} > )