Merge branch 'dev_hjm_banks_refactor' into dev_hjm_banks

dev_aliyun_beta
hjm 6 years ago
commit 95fecbacb5

@ -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