dev_static
杨树明 5 years ago
parent 89c9db2b3f
commit bb2e1eb2bf

@ -108,9 +108,12 @@ class Selectsetting extends Component{
let {fileList,is_public,description,datatime,Radiovalue}=this.state;
let newfileList=[];
if(fileList!=undefined&&fileList.length>0){
for(var list of fileList){
newfileList.push(list.response.id)
}
}
if(this.state.Radiovalue===1){
if(datatime===undefined||datatime===null||datatime=== ""){

@ -130,9 +130,13 @@ class Sendresource extends Component{
let {fileList,description,is_public,datatime,Radiovalue} =this.state;
let newfileList=[];
if(fileList!=undefined&&fileList.length>0){
for(var list of fileList){
newfileList.push(list.response.id)
}
}
if(newfileList.length===0){
this.setState({

Loading…
Cancel
Save