Merge branch 'dev_hjm_banks_refactor' into dev_hjm_banks

dev_aliyun_beta
hjm 6 years ago
commit 95fecbacb5

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

Loading…
Cancel
Save