|
|
@ -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) => {
|
|
|
|