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

dev_unstable
杨树明 6 years ago
commit af5b025e5f

@ -29,7 +29,8 @@ class Fileslistitem extends Component{
showfiles=(list)=>{
if(list.is_history_file===false){
this.props.DownloadFileA(list.title,list.url)
// this.props.DownloadFileA(list.title,list.url)
window.location.href=list.url;
}else{
let {discussMessage,coursesId}=this.props
let file_id=discussMessage.id
@ -47,7 +48,8 @@ class Fileslistitem extends Component{
// }else{
//
// }
this.props.DownloadFileA(result.data.title,result.data.url)
// this.props.DownloadFileA(result.data.title,result.data.url)
window.location.href=list.url;
}else{
this.setState({
Showoldfiles:true,

Loading…
Cancel
Save