From 598d1cf91acd6d0c2782ae896b6eb78044eaf3e6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 30 十二月 2021 21:10:14 +0800 Subject: [PATCH] 2021-12-30 --- src/menu/components/chart/antv-bar/chartcompile/index.jsx | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/menu/components/chart/antv-bar/chartcompile/index.jsx b/src/menu/components/chart/antv-bar/chartcompile/index.jsx index 16590f3..942c0cf 100644 --- a/src/menu/components/chart/antv-bar/chartcompile/index.jsx +++ b/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> -- Gitblit v1.8.0