king
2021-05-17 62051226c0a9551dd85492b3f90087a032fb98c3
src/menu/components/group/groupsetting/settingform/index.jsx
@@ -13,6 +13,7 @@
  state = {
    roleList: [],
    appType: sessionStorage.getItem('appType'),
    print: this.props.setting.print || 'false'
  }
@@ -55,7 +56,7 @@
  render() {
    const { setting, dict } = this.props
    const { getFieldDecorator } = this.props.form
    const { roleList, print } = this.state
    const { roleList, print, appType } = this.state
    const formItemLayout = {
      labelCol: {
@@ -108,7 +109,7 @@
                })(<InputNumber min={1} max={24} precision={0} onPressEnter={this.handleSubmit}/>)}
              </Form.Item>
            </Col>
            <Col span={12}>
            {appType !== 'mob' ? <Col span={12}>
              <Form.Item label="打印按钮">
                {getFieldDecorator('print', {
                  initialValue: print
@@ -119,8 +120,8 @@
                  </Radio.Group>
                )}
              </Form.Item>
            </Col>
            {print === 'true' ? <Col span={12}>
            </Col> : null}
            {print === 'true' && appType !== 'mob' ? <Col span={12}>
              <Form.Item label="打印尺寸">
                {getFieldDecorator('pageSize', {
                  initialValue: setting.pageSize || 'A4',
@@ -139,7 +140,7 @@
                )}
              </Form.Item>
            </Col> : null}
            {print === 'true' ? <Col span={12}>
            {print === 'true' && appType !== 'mob' ? <Col span={12}>
              <Form.Item label="打印布局">
                {getFieldDecorator('pageLayout', {
                  initialValue: setting.pageLayout || 'vertical',