king
2021-07-28 137fb8ea6af2789b3238b22bac31d80bced41dfe
src/menu/components/carousel/data-card/wrapsetting/settingform/index.jsx
@@ -13,6 +13,7 @@
  }
  state = {
    appType: sessionStorage.getItem('appType'),
    roleList: []
  }
@@ -55,7 +56,7 @@
  render() {
    const { wrap, config } = this.props
    const { getFieldDecorator } = this.props.form
    const { roleList } = this.state
    const { roleList, appType } = this.state
    const formItemLayout = {
      labelCol: {
@@ -161,7 +162,19 @@
                )}
              </Form.Item>
            </Col>
            <Col span={12}>
            {appType === 'mob' ? <Col span={12}>
              <Form.Item label="垂直显示">
                {getFieldDecorator('vertical', {
                  initialValue: wrap.vertical || 'false'
                })(
                  <Radio.Group>
                    <Radio value="true">是</Radio>
                    <Radio value="false">否</Radio>
                  </Radio.Group>
                )}
              </Form.Item>
            </Col> : null}
            {appType !== 'mob' ? <Col span={12}>
              <Form.Item label="指示点位置">
                {getFieldDecorator('dotPosition', {
                  initialValue: wrap.dotPosition || 'bottom'
@@ -174,8 +187,8 @@
                  </Radio.Group>
                )}
              </Form.Item>
            </Col>
            <Col span={12}>
            </Col> : null}
            {appType !== 'mob' ? <Col span={12}>
              <Form.Item label="动画效果">
                {getFieldDecorator('effect', {
                  initialValue: wrap.effect || 'scrollx'
@@ -186,7 +199,7 @@
                  </Radio.Group>
                )}
              </Form.Item>
            </Col>
            </Col> : null}
            <Col span={12}>
              <Form.Item label="黑名单">
                {getFieldDecorator('blacklist', {