king
2022-04-15 21d92eff0e23974d76e3e5a79ba50e3fc1c0b879
src/menu/components/tabs/antv-tabs/options.jsx
@@ -25,7 +25,6 @@
      initval: tab.label || '',
      required: true,
      focus: true,
      span: 22
    },
    {
      type: 'mkicon',
@@ -34,7 +33,6 @@
      initval: tab.icon || '',
      required: false,
      allowClear: true,
      span: 22
    },
    // {
    //   type: 'radio',
@@ -56,16 +54,14 @@
      initval: tab.controlVal || '',
      tooltip: '当禁用字段值与隐藏标记相等时,标签页会隐藏。',
      required: false,
      forbid: appType === 'mob',
      span: 22
      // forbid: appType === 'mob',
    },
    {
      type: 'color',
      field: 'backgroundColor',
      label: '背景色',
      label: '背景(内容区)',
      initval: tab.backgroundColor || 'transparent',
      required: false,
      span: 22
    },
    {
      type: 'radio',
@@ -77,7 +73,6 @@
        {value: 'false', label: '否'},
        {value: 'true', label: '是'},
      ],
      span: 22
    },
    {
      type: 'multiselect',
@@ -87,7 +82,6 @@
      required: false,
      options: roleList,
      forbid: !!appType,
      span: 22
    },
  ]
@@ -210,7 +204,7 @@
      controlFields: [
        {field: 'controlField', notNull: true},
      ],
      forbid: appType === 'mob',
      // forbid: appType === 'mob',
    },
    {
      type: 'text',
@@ -219,7 +213,26 @@
      initval: setting.controlField || '',
      tooltip: '用于控制标签隐藏的字段,在标签中填入隐藏标记。',
      required: true,
      forbid: appType === 'mob',
      // forbid: appType === 'mob',
    },
    {
      type: 'color',
      field: 'backgroundColor',
      label: '背景(标题栏)',
      initval: setting.backgroundColor || 'transparent',
      required: false
    },
    {
      type: 'radio',
      field: 'permission',
      label: '权限验证',
      initval: setting.permission || 'false',
      required: false,
      options: [
        {value: 'true', label: '启用'},
        {value: 'false', label: '禁用'},
      ],
      forbid: !appType
    },
    {
      type: 'multiselect',