king
2021-12-30 598d1cf91acd6d0c2782ae896b6eb78044eaf3e6
src/menu/components/chart/antv-bar/chartcompile/index.jsx
@@ -218,6 +218,22 @@
        }
      },
      {
        title: '显示',
        dataIndex: 'show',
        inputType: 'select',
        editable: true,
        required: false,
        width: '12%',
        options: [
          { value: 'value', text: '数值'},
          { value: 'percent', text: '百分比'}
        ],
        render: (text, record) => {
          let trans = {'value': '数值', 'percent': '百分比'}
          return trans[text] || ''
        }
      },
      {
        title: '最小值',
        dataIndex: 'min',
        inputType: 'number',
@@ -687,7 +703,7 @@
                </Form>
              </Col>
              <Col style={{fontSize: '12px', color: '#757575', paddingLeft: '10px'}} span={24}>注:使用自定义设置时,显示的坐标轴第一个在左侧,第二个在右侧,多余的不生效。</Col>
              <EditTable actions={['edit', 'move']} data={plot.customs || []} columns={cusColumns} onChange={this.changeCustom}/>
              <EditTable indexShow={false} actions={['edit', 'move']} data={plot.customs || []} columns={cusColumns} onChange={this.changeCustom}/>
            </TabPane> : null}
          </Tabs>
        </Modal>