From 4fbc3b5e242235f0521249ed2cf331f92917d34d Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Mon, 19 Aug 2019 17:56:50 +0800 Subject: [PATCH 1/2] _random --- .../modules/user/usersInfo/video/AliyunUploaderManager.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/user/usersInfo/video/AliyunUploaderManager.js b/public/react/src/modules/user/usersInfo/video/AliyunUploaderManager.js index 9ac0f1a08..a76f7f07b 100644 --- a/public/react/src/modules/user/usersInfo/video/AliyunUploaderManager.js +++ b/public/react/src/modules/user/usersInfo/video/AliyunUploaderManager.js @@ -65,9 +65,10 @@ function doCreateUploader (options) { if (!uploadInfo.videoId) { var createUrl = `${_testHost}/users/${login}/video_auths.json` + const _random = '' // Math.random().toString().substring(3, 6)+'-' axios.post(createUrl, { - title: fileName, - file_name: fileName + title: _random+fileName, + file_name: _random+fileName }).then((response) => { // if (response.data.status == ) const data = response.data.data From 4a6e125b70f86eae8e15ec6c2034dfad6f8eb85a Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Mon, 19 Aug 2019 18:05:37 +0800 Subject: [PATCH 2/2] 2px --- public/react/src/modules/user/usersInfo/video/VideoUploadList.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/react/src/modules/user/usersInfo/video/VideoUploadList.js b/public/react/src/modules/user/usersInfo/video/VideoUploadList.js index a493796ce..aaca13352 100644 --- a/public/react/src/modules/user/usersInfo/video/VideoUploadList.js +++ b/public/react/src/modules/user/usersInfo/video/VideoUploadList.js @@ -309,6 +309,7 @@ function VideoUploadList (props) { /* item */ .videoUploadList .cancelUpload { flex: 0 0 200px; + margin-left: 2px; } .videoUploadList .titleInput { width: 480px;