Commit 98d99938 authored by zhangwenshuai's avatar zhangwenshuai

fix bugs

parent 25570e23
......@@ -5,7 +5,7 @@
}
.overlayClassName {
max-height: 300px;
//overflow: auto;
overflow: auto;
margin-top: 20px;
:global(.ant-dropdown-menu) {
width: auto !important;
......
......@@ -22,6 +22,7 @@ import _ from 'lodash';
const FormItem = Form.Item;
class FormWrap extends Component {
wrapDom:any;
handleSubmit = (e) => {
e.preventDefault();
e.stopPropagation();
......@@ -129,6 +130,12 @@ class FormWrap extends Component {
origin="editForm"
form={this.props.form}
getInstanceDetail={getInstanceDetail}
getCalendarContainer={() => {
return this.wrapDom;
}}
getPopupContainer={() => {
return this.wrapDom;
}}
/>,
)}
</FormItem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment