权限增加

courseware
dinglink 5 years ago
parent ff2c812e36
commit c79f91f4e4

@ -108,7 +108,6 @@ class Video extends Component {
setVideoVisible = (flag) => {
this.setState({
videoVisible: flag
})
@ -238,12 +237,12 @@ class Video extends Component {
>
{videoId && <VideoPanel src={this.state.videourl===null?videoId.file_url:Base64.decode(videoId.file_url)} videoId={videoId.videoId} courseId={CourseId} logWatchHistory={logWatchHistory} />}
<div className="df copyLine" style={{}}>
{this.props.isAdmin()===false?'':<div className="df copyLine" style={{}}>
<Input value={_inputValue}
className="dark"
></Input>
<ActionBtn className="copybtn" data-clipboard-text={_inputValue}>复制视频地址</ActionBtn>
</div>
</div>}
</HeadlessModal>
<div className="videoPanel">
{

Loading…
Cancel
Save