From c8e680b315ce010905f6b0409d3156218abfe056 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 11 三月 2021 19:03:31 +0800 Subject: [PATCH] 2021-03-11 --- src/templates/modalconfig/settingform/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/templates/modalconfig/settingform/index.jsx b/src/templates/modalconfig/settingform/index.jsx index e4c44a3..7183cad 100644 --- a/src/templates/modalconfig/settingform/index.jsx +++ b/src/templates/modalconfig/settingform/index.jsx @@ -13,7 +13,8 @@ } state = { - fields: null + fields: null, + appType: sessionStorage.getItem('appType') } UNSAFE_componentWillMount () { @@ -65,7 +66,7 @@ render() { const { config, dict } = this.props - const { fields } = this.state + const { fields, appType } = this.state const { getFieldDecorator } = this.props.form const formItemLayout = { @@ -161,7 +162,7 @@ )} </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' -- Gitblit v1.8.0