评论时清空附件会提示错误

This commit is contained in:
caishi 2023-05-08 14:19:00 +08:00
parent e3af526896
commit ee90131535
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ class Index extends Component {
return item.response && item.status==="done" && array.push((item.response.id || (item.response.data && item.response.data.id)));
})
array && array.length>0 && this.props.load(array);
}else{
this.props.load([]);
}
}