From 6897a9d1be4ab037051da20580557984c4f4af45 Mon Sep 17 00:00:00 2001 From: caicai8 <1149225589@qq.com> Date: Mon, 9 Mar 2020 23:55:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/Video/VideoIndex.js | 4 +--- .../modules/user/usersInfo/video/VideoInReviewItem.js | 10 +++++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/public/react/src/modules/courses/Video/VideoIndex.js b/public/react/src/modules/courses/Video/VideoIndex.js index c4dae59c2..15372e2cc 100644 --- a/public/react/src/modules/courses/Video/VideoIndex.js +++ b/public/react/src/modules/courses/Video/VideoIndex.js @@ -241,10 +241,8 @@ class VideoIndex extends Component{ const {course_identity} = this.props.coursedata; const flag = parseInt(course_identity) < 4; - console.log(flag); const newOperation = flag; - const new_upload = flag || admin || is_teacher; - // console.log("p",this.props); + const new_upload = flag && (is_teacher && this.props.checkIfProfessionalCertification()); return( } - - - + { + !link ? + + + :"" + } + }