From 55071f5a06673369ceba07e36cd7f85e584c3eac Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 23 十二月 2019 10:55:49 +0800 Subject: [PATCH] 2019-12-23 --- src/templates/subtableconfig/menuform/index.jsx | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/templates/subtableconfig/menuform/index.jsx b/src/templates/subtableconfig/menuform/index.jsx index aa09a7c..f1b576b 100644 --- a/src/templates/subtableconfig/menuform/index.jsx +++ b/src/templates/subtableconfig/menuform/index.jsx @@ -11,6 +11,7 @@ getFields() { const { getFieldDecorator } = this.props.form + const fields = [] this.props.formlist.forEach((item, index) => { if (item.type === 'text') { // 鏂囨湰鎼滅储 @@ -45,7 +46,7 @@ <Select showSearch filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} - getPopupContainer={() => document.getElementById('qazxcvbn')} + getPopupContainer={() => document.getElementById('subqazxcvbn')} > {item.options.map(option => <Select.Option id={option.MenuID} title={option.text} key={option.MenuID} value={option.MenuID}> @@ -87,7 +88,7 @@ } } return ( - <Form {...formItemLayout} className="ant-advanced-search-form" id="qazxcvbn"> + <Form {...formItemLayout} className="ant-advanced-search-form" id="subqazxcvbn"> <Row gutter={24}>{this.getFields()}</Row> </Form> ) -- Gitblit v1.8.0