king
2021-05-13 145a6eb83133497b3863add21610ac6015e6533e
src/menu/components/card/data-card/wrapsetting/settingform/index.jsx
@@ -14,6 +14,7 @@
  state = {
    roleList: [],
    appType: sessionStorage.getItem('appType'),
    MenuType: ''
  }
@@ -62,7 +63,7 @@
  render() {
    const { wrap, config } = this.props
    const { getFieldDecorator } = this.props.form
    const { roleList, MenuType } = this.state
    const { roleList, MenuType, appType } = this.state
    const formItemLayout = {
      labelCol: {
@@ -139,7 +140,7 @@
                )}
              </Form.Item>
            </Col> : null}
            {config.subtype === 'datacard' ? <Col span={12}>
            {config.subtype === 'datacard' || (config.subtype === 'tablecard' && appType === 'mob') ? <Col span={12}>
              <Form.Item label={
                <Tooltip placement="topLeft" title="数据源中选择分页时有效。">
                  <Icon type="question-circle" />
@@ -151,7 +152,8 @@
                })(
                  <Radio.Group>
                    <Radio value="page">页码</Radio>
                    <Radio value="switch">左右切换</Radio>
                    {appType !== 'mob' ? <Radio value="switch">左右切换</Radio> : null}
                    {appType === 'mob' ? <Radio value="slide">滑动加载</Radio> : null}
                  </Radio.Group>
                )}
              </Form.Item>