From abe942f4c6d49a6ad42acaf8e74f5f02b5ffc089 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 04 六月 2021 15:26:17 +0800 Subject: [PATCH] 2021-06-04 --- src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx index 107b8b7..445f08d 100644 --- a/src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx +++ b/src/menu/components/chart/antv-pie/chartcompile/formconfig.jsx @@ -144,13 +144,14 @@ options: [ { value: 'pie', text: '楗煎浘' }, { value: 'ring', text: '鐜浘' }, + { value: 'nest', text: '宓屽' }, { value: 'nightingale', text: '鍗椾竵鏍煎皵鍥�' } ] }, { type: 'select', key: 'Xaxis', - label: 'X-杞�', + label: '鍚嶇О', initVal: card.Xaxis || '', required: true, options: xfields @@ -158,10 +159,20 @@ { type: 'select', key: 'Yaxis', - label: 'Y-杞�', + label: '鍊�', initVal: card.Yaxis || '', required: true, options: yfields + }, + { + type: 'select', + key: 'type', + label: '绫诲瀷', + initVal: card.type || '', + tooltip: '鍐呯幆鐨勫垎绫诲瓧娈点��', + required: true, + options: xfields, + hidden: card.shape !== 'nest', }, { type: 'select', @@ -183,7 +194,8 @@ { field: 'left-top', label: '宸︿笂' }, { field: 'left-bottom', label: '宸︿笅' }, { field: 'hidden', label: '闅愯棌' } - ] + ], + hidden: card.shape === 'nest', }, { type: 'number', @@ -251,7 +263,7 @@ }, { value: 'outer', text: '澶栦晶' - }] + }], }, { type: 'radio', key: 'repeat', -- Gitblit v1.8.0