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

dev_new_shixunsrepository
杨树明 5 years ago
commit 0cd5b5becb

@ -106,12 +106,11 @@ class Selectsetting extends Component{
savecouseShixunModal=()=>{ savecouseShixunModal=()=>{
let {fileList,is_public,description,datatime,Radiovalue}=this.state; let {fileList,is_public,description,datatime,Radiovalue}=this.state;
let newfileList=[]; let newfileList=[];
if(fileList!=undefined&&fileList.length>0){ if(fileList!=undefined&&fileList.length>0){
for(var list of fileList){ fileList.map((list,key)=>{
newfileList.push(list.response.id) newfileList.push(list.response.id)
} })
} }

@ -132,9 +132,9 @@ class Sendresource extends Component{
let newfileList=[]; let newfileList=[];
if(fileList!=undefined&&fileList.length>0){ if(fileList!=undefined&&fileList.length>0){
for(var list of fileList){ fileList.map((list,key)=>{
newfileList.push(list.response.id) newfileList.push(list.response.id)
} })
} }

Loading…
Cancel
Save