|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
import React, { useState, useEffect, useReducer, useContext, memo } from 'react';
|
|
|
|
|
|
|
|
|
|
import { Prompt } from 'react-router'
|
|
|
|
|
import { getUrl2, isDev, CBreadcrumb, ActionBtn, ThemeContext } from 'educoder'
|
|
|
|
|
import axios from 'axios'
|
|
|
|
|
|
|
|
|
@ -233,6 +233,10 @@ function VideoUploadList (props) {
|
|
|
|
|
const protocolLine = <div>上传视频,即表示您已同意<span style={{color: theme.foreground_select}}>上传内容协议</span>,不得上传未经他人授权的作品</div>
|
|
|
|
|
return (
|
|
|
|
|
<div className="educontent videoUploadList" style={{ marginBottom: '200px' }}>
|
|
|
|
|
<Prompt
|
|
|
|
|
when={state.videos.length}
|
|
|
|
|
message='确认要离开当前页面,当前数据不可恢复'
|
|
|
|
|
/>
|
|
|
|
|
<style>{`
|
|
|
|
|
.videoUploadList .section {
|
|
|
|
|
background: #fff;
|
|
|
|
|