From e41a64966b7832baffe96c21d1ea77ef6adb2905 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 14 十月 2021 18:31:55 +0800 Subject: [PATCH] 2021-10-14 --- src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx index ac311aa..f3b35e2 100644 --- a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx +++ b/src/menu/components/chart/antv-bar/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 }, // { // type: 'cascader', -- Gitblit v1.8.0