Merge branches 'dev_Ysm' and 'dev_hjm_a' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_Ysm

dev_oauth
杨树明 6 years ago
commit 17bceb68af

@ -65,9 +65,10 @@ function doCreateUploader (options) {
if (!uploadInfo.videoId) { if (!uploadInfo.videoId) {
var createUrl = `${_testHost}/users/${login}/video_auths.json` var createUrl = `${_testHost}/users/${login}/video_auths.json`
const _random = '' // Math.random().toString().substring(3, 6)+'-'
axios.post(createUrl, { axios.post(createUrl, {
title: fileName, title: _random+fileName,
file_name: fileName file_name: _random+fileName
}).then((response) => { }).then((response) => {
// if (response.data.status == ) // if (response.data.status == )
const data = response.data.data const data = response.data.data

@ -309,6 +309,7 @@ function VideoUploadList (props) {
/* item */ /* item */
.videoUploadList .cancelUpload { .videoUploadList .cancelUpload {
flex: 0 0 200px; flex: 0 0 200px;
margin-left: 2px;
} }
.videoUploadList .titleInput { .videoUploadList .titleInput {
width: 480px; width: 480px;

Loading…
Cancel
Save