Merge branches 'dev_aliyun' and 'topic_bank' of https://bdgit.educoder.net/Hjqreturn/educoder into topic_bank

dev_aliyun_beta
杨树明 5 years ago
commit 4dab952c41

@ -1,2 +1 @@
json.content @content json.url "/shixuns/#{@shixun.identifier}/repository/master/shixun_show/#{@path}"
json.path @path

@ -103,6 +103,7 @@ class GraduationTasksedit extends Component{
} }
// 附件相关 START // 附件相关 START
handleChange = (info) => { handleChange = (info) => {
if(info.file.status == "done" || info.file.status == "uploading"){
let fileList = info.fileList; let fileList = info.fileList;
// console.log(fileList) // console.log(fileList)
// for(var list of fileList ){ // for(var list of fileList ){
@ -112,6 +113,7 @@ class GraduationTasksedit extends Component{
fileList: appendFileSizeToUploadFileAll(fileList), fileList: appendFileSizeToUploadFileAll(fileList),
}); });
} }
}
// onAttachmentRemove = (file) => { // onAttachmentRemove = (file) => {
// // confirm({ // // confirm({

Loading…
Cancel
Save