From 1068b5d1fbbc646f2640d9e4e59c7c75056a27a2 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Sat, 17 Aug 2019 16:16:22 +0800 Subject: [PATCH] =?UTF-8?q?windows=20video/*=20=E4=B8=8D=E7=AE=A1=E7=94=A8?= =?UTF-8?q?=20TODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/user/usersInfo/video/VideoUploadList.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 */}