| | |
| | | } |
| | | |
| | | state = { |
| | | fields: null |
| | | fields: null, |
| | | appType: sessionStorage.getItem('appType') |
| | | } |
| | | |
| | | UNSAFE_componentWillMount () { |
| | |
| | | |
| | | render() { |
| | | const { config, dict } = this.props |
| | | const { fields } = this.state |
| | | const { fields, appType } = this.state |
| | | const { getFieldDecorator } = this.props.form |
| | | |
| | | const formItemLayout = { |
| | |
| | | )} |
| | | </Form.Item> |
| | | </Col> |
| | | {!this.props.isSubTab ? <Col span={12}> |
| | | {!this.props.isSubTab && appType !== 'pc' ? <Col span={12}> |
| | | <Form.Item label="挂载对象"> |
| | | {getFieldDecorator('container', { |
| | | initialValue: config.setting.container || 'tab' |