king
2022-04-15 21d92eff0e23974d76e3e5a79ba50e3fc1c0b879
src/menu/components/form/normal-form/options.jsx
@@ -9,7 +9,7 @@
  if (roleList) {
    try {
      roleList = JSON.parse(roleList)
    } catch {
    } catch (e) {
      roleList = []
    }
  } else {
@@ -92,6 +92,18 @@
      forbid: config.subtype === 'tabform'
    },
    {
      type: 'radio',
      field: 'permission',
      label: '权限验证',
      initval: wrap.permission || 'false',
      required: false,
      options: [
        {value: 'true', label: '启用'},
        {value: 'false', label: '禁用'},
      ],
      forbid: !appType
    },
    {
      type: 'multiselect',
      field: 'blacklist',
      label: '黑名单',