newyslclassrooms
caicai8 5 years ago
parent 2aeda266d5
commit 6897a9d1be

@ -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(
<React.Fragment>
<VideoLink

@ -103,9 +103,13 @@ function VideoInReviewItem (props) {
></i>
</Tooltip>
}
<Tooltip title="复制视频地址" placement="bottom">
<i className={`icon-fuzhi iconfont copybtn_item_${id}`} data-clipboard-text={getCopyText(file_url, cover_url)}></i>
</Tooltip>
{
!link ?
<Tooltip title="复制视频地址" placement="bottom">
<i className={`icon-fuzhi iconfont copybtn_item_${id}`} data-clipboard-text={getCopyText(file_url, cover_url)}></i>
</Tooltip>:""
}
</div> }
</div>
</div>

Loading…
Cancel
Save