我有一个会返回的组件,
<div className="top-margin">
{this.orgs().map( (o)=>{
return <AOD obj={o} />
})}
</div>
<div className="modal fade" id="add-modal" role="dialog">
<div className="modal-dialog">
<div className="modal-content">
<div className="modal-footer">
<button type="button" onClick={createOrg} className="btn btn-primary">Add new Project</button>
</div>
</div>
</div>
</div>
createOrg位于AOD文件中。如何从AOD调用createOrg函数?