src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
@@ -8,11 +8,12 @@ * @param {object} card // 图表对象 */ export function getBaseForm (card) { let appType = sessionStorage.getItem('appType') let roleList = sessionStorage.getItem('sysRoles') if (roleList) { try { roleList = JSON.parse(roleList) } catch { } catch (e) { roleList = [] } } else { @@ -63,7 +64,8 @@ initVal: card.blacklist || [], multi: true, required: false, options: roleList options: roleList, forbid: !!appType } ] }