权限增加

courseware
dinglink 5 years ago
parent ff2c812e36
commit c79f91f4e4

@ -108,7 +108,6 @@ class Video extends Component {
setVideoVisible = (flag) => { setVideoVisible = (flag) => {
this.setState({ this.setState({
videoVisible: flag 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} />} {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} <Input value={_inputValue}
className="dark" className="dark"
></Input> ></Input>
<ActionBtn className="copybtn" data-clipboard-text={_inputValue}>复制视频地址</ActionBtn> <ActionBtn className="copybtn" data-clipboard-text={_inputValue}>复制视频地址</ActionBtn>
</div> </div>}
</HeadlessModal> </HeadlessModal>
<div className="videoPanel"> <div className="videoPanel">
{ {

Loading…
Cancel
Save