|
|
@ -760,15 +760,17 @@ class Newshixuns extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
// 附件相关 START
|
|
|
|
// 附件相关 START
|
|
|
|
handleChange = (info) => {
|
|
|
|
handleChange = (info) => {
|
|
|
|
let {fileList}=this.state;
|
|
|
|
if (info.file.status === 'uploading' || info.file.status === 'done' || info.file.status === 'removed') {
|
|
|
|
console.log("handleChange1");
|
|
|
|
let {fileList}=this.state;
|
|
|
|
if(fileList.length===0){
|
|
|
|
console.log("handleChange1");
|
|
|
|
|
|
|
|
if(fileList.length===0){
|
|
|
|
let fileLists = info.fileList;
|
|
|
|
let fileLists = info.fileList;
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
// fileList:appendFileSizeToUploadFileAll(fileList),
|
|
|
|
// fileList:appendFileSizeToUploadFileAll(fileList),
|
|
|
|
fileList:fileLists,
|
|
|
|
fileList:fileLists,
|
|
|
|
deleteisnot:false});
|
|
|
|
deleteisnot:false});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
onAttachmentRemove = (file) => {
|
|
|
|
onAttachmentRemove = (file) => {
|
|
|
|