src/components/normalform/index.jsx
@@ -55,6 +55,12 @@ }) } cancel = () => { this.setState({ visible: false }) this.props.cancel && this.props.cancel() } render () { const { title, width, children } = this.props const { visible, dict, formlist } = this.state @@ -70,7 +76,7 @@ maskClosable={false} okText={dict['model.confirm']} onOk={this.submit} onCancel={() => { this.setState({ visible: false }) }} onCancel={this.cancel} destroyOnClose > <ModalForm