From bb056d657de07aa2dbc22d6dfb85db53afa465e9 Mon Sep 17 00:00:00 2001 From: caicai8 <1149225589@qq.com> Date: Mon, 9 Mar 2020 23:01:40 +0800 Subject: [PATCH] bug --- public/react/src/modules/courses/Video/Video.js | 4 +++- .../react/src/modules/courses/Video/VideoIndex.js | 14 ++++++++------ .../react/src/modules/courses/Video/VideoLink.js | 14 ++++++++++++-- .../user/usersInfo/video/AliyunUploaderManager.js | 2 +- .../user/usersInfo/video/VideoUploadList.js | 6 +++--- 5 files changed, 27 insertions(+), 13 deletions(-) diff --git a/public/react/src/modules/courses/Video/Video.js b/public/react/src/modules/courses/Video/Video.js index 67387574c..1c0618497 100644 --- a/public/react/src/modules/courses/Video/Video.js +++ b/public/react/src/modules/courses/Video/Video.js @@ -184,6 +184,8 @@ class Video extends Component { render() { const { visible, videoVisible, videoId , moveVisible , moveVideoId } = this.state; const CourseId = this.props.match.params.coursesId; + const VID=this.props.match.params.videoId; + const login = this.props.user && this.props.user.login; const _inputValue = videoId && this.getCopyText(videoId.file_url, videoId.cover_url); @@ -224,7 +226,7 @@ class Video extends Component {