src/menu/components/editor/braft-editor/options.jsx
@@ -2,12 +2,13 @@ * @description Wrap表单配置信息 */ export default function (wrap, columns) { let appType = sessionStorage.getItem('appType') let roleList = sessionStorage.getItem('sysRoles') if (roleList) { try { roleList = JSON.parse(roleList) } catch { } catch (e) { roleList = [] } } else { @@ -77,7 +78,8 @@ label: '黑名单', initval: wrap.blacklist || [], required: false, options: roleList options: roleList, forbid: !!appType }, ]