From fc5c58dba3e3524e3bfb75ee91e8ac892e96c598 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 24 六月 2023 11:58:27 +0800 Subject: [PATCH] 2023-06-24 --- src/menu/components/chart/antv-G6/chartcompile/formconfig.jsx | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/menu/components/chart/antv-G6/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-G6/chartcompile/formconfig.jsx index b5f74db..4c4f683 100644 --- a/src/menu/components/chart/antv-G6/chartcompile/formconfig.jsx +++ b/src/menu/components/chart/antv-G6/chartcompile/formconfig.jsx @@ -87,7 +87,7 @@ {value: 'true', label: '鍚敤'}, {value: 'false', label: '绂佺敤'}, ], - forbid: !appType + forbid: !appType || sessionStorage.getItem('editMenuType') === 'popview' }, { type: 'multiselect', @@ -236,7 +236,7 @@ label: '涓婄骇缁勪欢' }, { value: 'line', - label: '琛�' + label: '鏁版嵁婧�' }], controlFields: [ {field: 'rootLabel', values: ['fixed', 'supvalue']}, @@ -249,6 +249,7 @@ field: 'rootValue', label: '鏍硅妭鐐瑰��', initval: card.rootValue || '', + tooltip: '鏍硅妭鐐逛娇鐢ㄤ笂绾х粍浠舵椂锛岃濉啓涓婄骇缁勪欢涓搴旂殑瀛楁銆�', required: true }, { @@ -256,6 +257,7 @@ field: 'rootLabel', label: '鏍硅妭鐐规枃鏈�', initval: card.rootLabel || '', + tooltip: '鏍硅妭鐐逛娇鐢ㄤ笂绾х粍浠舵椂锛岃濉啓涓婄骇缁勪欢涓搴旂殑瀛楁銆�', required: true }, { @@ -316,7 +318,7 @@ label: '鑺傜偣棰滆壊', initval: card.nodeColor || '#1890ff', tooltip: '鍙充晶鑺傜偣鐨勬爣璁伴鑹层��', - isHex: true, + colorType: 'hex', required: false }, { @@ -325,7 +327,7 @@ label: '宸﹁妭鐐归鑹�', initval: card.leftColor || '#26C281', tooltip: '宸︿晶鑺傜偣鐨勬爣璁伴鑹层��', - isHex: true, + colorType: 'hex', required: false }, { @@ -345,7 +347,7 @@ field: 'collapsed', label: '鑺傜偣鍚堝苟', initval: card.collapsed || 'false', - tooltip: '涓�绾ц妭鐐规槸鍚﹀悎骞躲��', + tooltip: '鍒濆鍖栨椂锛屼竴绾ц妭鐐规槸鍚﹀悎骞躲��', required: false, options: [ {value: 'false', label: '鍚�'}, -- Gitblit v1.8.0