king
2021-08-19 812070dc565f03bafb0b62696004aa676ed1b787
src/mob/components/menubar/normal-menubar/options.jsx
@@ -2,18 +2,6 @@
 * @description Wrap表单配置信息
 */
export default function (wrap) {
  let roleList = sessionStorage.getItem('sysRoles')
  if (roleList) {
    try {
      roleList = JSON.parse(roleList)
    } catch {
      roleList = []
    }
  } else {
    roleList = []
  }
  const menuWrapForm = [
    {
      type: 'text',
@@ -40,15 +28,7 @@
      max: 24,
      precision: 0,
      required: true
    },
    {
      type: 'multiselect',
      field: 'blacklist',
      label: '黑名单',
      initval: wrap.blacklist || [],
      required: false,
      options: roleList
    },
    }
  ]
  return menuWrapForm