From 956439a3c4b8b3cfd99878974e6ba9ff02e937a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 18 Mar 2020 00:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/Video/Video.js | 3 ++- .../src/modules/user/usersInfo/video/VideoInReviewItem.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/Video/Video.js b/public/react/src/modules/courses/Video/Video.js index 2e5cc23dc..14e69cfbb 100644 --- a/public/react/src/modules/courses/Video/Video.js +++ b/public/react/src/modules/courses/Video/Video.js @@ -270,7 +270,8 @@ class Video extends Component { operation={operation || item.user_id === user_id} deleteVideo={(admin || item.user_id === user_id) ? this.deleteVideo : undefined} moveVideo={videoData && videoData.has_category && flagMove ? () => this.moveVideo(item.id, (course_identity > 2 && item.user_id !== user_id)) : undefined} - + newtitle={item.title} + newcourse_video_id={item.course_video_id} > ) diff --git a/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js b/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js index 519b719f9..8f847709e 100644 --- a/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js +++ b/public/react/src/modules/user/usersInfo/video/VideoInReviewItem.js @@ -95,7 +95,7 @@ function VideoInReviewItem (props) { { props&&props.mykt!=undefined?isReview !== true && moveVideo && - Setmyktid(props.id,props.title)} + Setmyktid(props.newcourse_video_id,props.newtitle)} style={{ marginTop: '1px', display: 'inline-block'}} > :""