From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 18 十一月 2021 20:47:04 +0800
Subject: [PATCH] 2021-11-18

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

diff --git a/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
index 121440f..222db5a 100644
--- a/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
+++ b/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
@@ -8,6 +8,7 @@
  * @param {object} card       // 鍥捐〃瀵硅薄
  */
 export function getBaseForm (card) {
+  let appType = sessionStorage.getItem('appType')
   let roleList = sessionStorage.getItem('sysRoles')
   if (roleList) {
     try {
@@ -63,7 +64,8 @@
       initVal: card.blacklist || [],
       multi: true,
       required: false,
-      options: roleList
+      options: roleList,
+      forbid: !!appType
     }
   ]
 }

--
Gitblit v1.8.0