king
2021-09-10 d074bedd5c2834113fe0c4ed5a3c78ec905681c3
src/menu/components/card/data-card/options.jsx
@@ -84,7 +84,7 @@
      options: [
        {value: '', label: '不可选'},
        {value: 'radio', label: '单选'},
        {value: 'checkbox', label: '多选', forbid: subtype === 'propcard'},
        {value: 'checkbox', label: '多选', disabled: subtype === 'propcard'},
      ],
      controlFields: [
        {field: 'checkAll', values: ['checkbox']},
@@ -101,7 +101,7 @@
      options: [
        {value: 'false', label: '无'},
        {value: 'init', label: '初始化'},
        {value: 'always', label: '数据加载', forbid: subtype === 'propcard'},
        {value: 'always', label: '数据加载', disabled: subtype === 'propcard'},
      ]
    },
    {
@@ -178,7 +178,7 @@
  ]
  return cardWrapForm.map(item => {
    if (['pagestyle', 'cardType', 'selected'].includes(item.field)) {
    if (['pagestyle'].includes(item.field)) {
      item.options = item.options.filter(option => !option.forbid)
    }