From 60dee3dc4dc6869231d6adb0c94c47e36114ca91 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 21 四月 2022 09:11:34 +0800
Subject: [PATCH] 2022-04-21

---
 src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
index 9a90e00..3add00e 100644
--- a/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
+++ b/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
@@ -58,6 +58,18 @@
       required: true
     },
     {
+      type: 'radio',
+      key: 'permission',
+      label: '鏉冮檺楠岃瘉',
+      initVal: card.permission || 'false',
+      required: false,
+      options: [
+        {value: 'true', text: '鍚敤'},
+        {value: 'false', text: '绂佺敤'},
+      ],
+      forbid: !appType
+    },
+    {
       type: 'select',
       key: 'blacklist',
       label: '榛戝悕鍗�',
@@ -144,6 +156,18 @@
         text: '鍚敤'
       }]
     },
+    // {
+    //   type: 'radio',
+    //   key: 'empty',
+    //   label: '绌哄�奸殣钘�',
+    //   initVal: card.empty || 'show',
+    //   tooltip: '褰撴煡璇㈡暟鎹负绌烘椂锛岄殣钘忚缁勪欢銆�',
+    //   required: false,
+    //   options: [
+    //     {value: 'show', text: '鍚�'},
+    //     {value: 'hidden', text: '鏄�'},
+    //   ],
+    // },
     {
       type: 'color',
       key: 'tickColor',

--
Gitblit v1.8.0