From b69b5f6329ca5f87932436b7a6c1ddfc3377e10f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 16 五月 2024 10:56:41 +0800
Subject: [PATCH] 2024-05-16

---
 src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx
index f0b3e10..a808760 100644
--- a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx
+++ b/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx
@@ -128,7 +128,6 @@
       controlFields: [
         {field: 'menu', values: ['menu']},
         {field: 'open', values: ['menu', 'menus']},
-        {field: 'joint', values: ['menu', 'menus']},
         {field: 'menuType', values: ['menus']},
         {field: 'menus', values: ['menus']},
       ]
@@ -165,19 +164,6 @@
         {value: 'self', label: '褰撳墠绐楀彛'},
       ],
       forbid: appType !== 'pc' || card.chartType !== 'bar',
-      hidden: card.click !== 'menu' && card.click !== 'menus'
-    },
-    {
-      type: 'radio',
-      field: 'joint',
-      label: '鍙傛暟鎷兼帴',
-      initval: card.joint || 'true',
-      required: false,
-      options: [
-        {value: 'true', label: '鏄�'},
-        {value: 'false', label: '鍚�'},
-      ],
-      forbid: appType === 'mob' || card.chartType !== 'bar',
       hidden: card.click !== 'menu' && card.click !== 'menus'
     },
     {
@@ -432,7 +418,7 @@
       required: false,
       options: labelOptions,
       controlFields: [
-        {field: 'labelColor', values: ['true']}
+        {field: 'labelUnit', values: ['true', 'top', 'middle', 'bottom']}
       ]
     }, {
       type: 'radio',
@@ -583,6 +569,13 @@
       forbid: appType === 'mob',
       required: false
     }, {
+      type: 'text',
+      field: 'labelUnit',
+      label: '鏍囨敞鍗曚綅',
+      initval: card.labelUnit ||'',
+      forbid: appType === 'mob',
+      required: false
+    }, {
       type: 'color',
       field: 'lineColor',
       label: '鍧愭爣杞撮鑹�',

--
Gitblit v1.8.0