king
2022-06-10 bf292de8879e2ce71696cb3ddc4dc8fa88d91a20
src/menu/components/form/normal-form/options.jsx
@@ -9,7 +9,7 @@
  if (roleList) {
    try {
      roleList = JSON.parse(roleList)
    } catch {
    } catch (e) {
      roleList = []
    }
  } else {
@@ -39,7 +39,7 @@
    {
      type: 'radio',
      field: 'datatype',
      label: '初始值',
      label: '数据来源',
      initval: wrap.datatype || 'static',
      tooltip: '初始值来源于数据源或表单默认值。',
      required: false,
@@ -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: '黑名单',