From 656ea3139db54b8dc9a29b8cb239d0f0df9a6c05 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 27 六月 2023 18:19:42 +0800 Subject: [PATCH] 2023-06-27 --- src/menu/components/chart/antv-X6/chartcompile/formconfig.jsx | 42 +++++++++++++++++++++++++++++++++++++----- 1 files changed, 37 insertions(+), 5 deletions(-) diff --git a/src/menu/components/chart/antv-X6/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-X6/chartcompile/formconfig.jsx index 39827f8..4b70bf9 100644 --- a/src/menu/components/chart/antv-X6/chartcompile/formconfig.jsx +++ b/src/menu/components/chart/antv-X6/chartcompile/formconfig.jsx @@ -209,12 +209,24 @@ value: 'xflow', label: '娴佺▼鍥�' }, { - value: 'indentTree', + value: 'lane', label: '娉抽亾鍥�' - }, { - value: 'kapmap', - label: '缁勭粐缁撴瀯鍥�' - }] + }], + controlFields: [ + {field: 'gridType', values: ['xflow']}, + {field: 'backgroundColor', values: ['xflow']} + ], + }, + { + type: 'radio', + field: 'export', + label: '涓嬭浇', + initval: card.export || 'png', + required: false, + options: [ + {value: 'none', label: '绂佺敤'}, + {value: 'png', label: 'PNG鍥�'}, + ], }, { type: 'radio', @@ -227,6 +239,26 @@ {value: 'show', label: '鍚�'}, {value: 'hidden', label: '鏄�'}, ], + }, + { + type: 'radio', + field: 'gridType', + label: '缃戞牸', + initval: card.gridType || 'none', + required: false, + options: [ + {value: 'none', label: '鏃�'}, + {value: 'dot', label: '鐐圭姸缃戞牸'}, + {value: 'mesh', label: '缃戠姸缃戞牸'} + ], + }, + { + type: 'color', + field: 'backgroundColor', + label: '鑳屾櫙鑹�', + initval: card.backgroundColor || '', + required: false, + allowClear: true } ] } -- Gitblit v1.8.0