diff --git a/public/react/src/modules/user/usersInfo/video/VideoUploadList.js b/public/react/src/modules/user/usersInfo/video/VideoUploadList.js index 0458f0062..1f6976734 100644 --- a/public/react/src/modules/user/usersInfo/video/VideoUploadList.js +++ b/public/react/src/modules/user/usersInfo/video/VideoUploadList.js @@ -177,10 +177,12 @@ function VideoUploadList (props) { } function doDelete(index, isSuccess) { uploader.deleteFile(index) - // uploader.cancelFile(index) if (isSuccess) { - deleteVideoInCloud(username, state.videoes[index].videoId) - } + // uploader.deleteFile(index) + deleteVideoInCloud(username, state.videoes[index].videoId) + } else { + // uploader.cancelFile(index) + } clearInput() dispatch({type: 'removeVideo', index}) @@ -384,7 +386,7 @@ function VideoUploadList (props) {
视频大小:不支持断点续传,单个视频文件最大200M;单次最多支持3个视频文件上传
视频规格:avi、flv、f4v、m4v、mov、mp4、rmvb、swf、webm
-
温馨提示:请勿上传违法视频。平台将为每一个视频分配一个地址,您可以通过引用改地址将视频使用在开发社区等模块
+
温馨提示:请勿上传违法视频。平台将为每一个视频分配一个地址,您可以通过引用该地址将视频使用在开发社区等模块
{!noUploads && @@ -405,6 +407,7 @@ function VideoUploadList (props) { } + {/* windows video/* 不管用 TODO */}