src/menu/components/chart/antv-scatter/chartcompile/formconfig.jsx
@@ -3,11 +3,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 { @@ -58,7 +59,8 @@ initVal: card.blacklist || [], multi: true, required: false, options: roleList options: roleList, forbid: !!appType } ] }