在shareAd组件中,我添加了modalRender prop到antd Modal组件,如下所示。还在modal的onCancel上添加e....
我终于找到了答案,我在这里分享它,以防它可以帮助其他人。在shareAd组件中,我添加了modalRender prop到antd Modal组件,如下所示。还在modal的onCancel上添加e.stopPropagation():
(this)}></CreateT> </Modal> <Modal title="Edit Transaction" visible={this.state.editTModal} footer={null} destroyOnClose onCancel={() => { this.setState({ editTModal: false }) }} > <EditT initialData={this.state.initialData} refresh={this.refresh.bind(this)} challengeList={this....
I have searched the issues of this repository and believe that this is not a duplicate. Version 3.10.1 Environment reactjs Reproduction link https://ant.design/components/form/ Steps to reproduce Implement form and use an image upload. T...