if(file.response!=undefined){

dev_aliyun_beta
hjm 6 years ago
parent 9a27974fa9
commit 35f79be6bd

@ -191,6 +191,7 @@ class NewWorkForm extends Component{
} }
onAttachmentRemove = (file, stateName) => { onAttachmentRemove = (file, stateName) => {
if(file.response!=undefined){
this.props.confirm({ this.props.confirm({
content: '是否确认删除?', content: '是否确认删除?',
@ -201,8 +202,7 @@ class NewWorkForm extends Component{
console.log('Cancel'); console.log('Cancel');
}, },
}); });
}
return false; return false;
} }
deleteAttachment = (file, stateName) => { deleteAttachment = (file, stateName) => {

Loading…
Cancel
Save