king
2022-11-23 a898abd9e42a4b428d6daf1d34fa400ed18e8689
src/menu/components/table/normal-table/columns/editColumn/formconfig.jsx
@@ -225,7 +225,8 @@
      }, {
        value: 'false',
        text: '否'
      }]
      }],
      forbid: card.isSub
    },
    {
      type: 'number',
@@ -234,7 +235,7 @@
      max: 18,
      decimal: 0,
      label: '小数位',
      initVal: card.decimal || 0,
      initVal: card.decimal,
      required: false
    },
    {
@@ -331,6 +332,18 @@
    },
    {
      type: 'radio',
      key: 'backgroundSize',
      label: '图像大小',
      initVal: card.backgroundSize || 'cover',
      required: false,
      options: [
        { value: 'cover', text: '覆盖' },
        { value: 'contain', text: '包含' },
        { value: 'auto', text: '自适应' },
      ]
    },
    {
      type: 'radio',
      key: 'scale',
      label: '点击缩放',
      initVal: card.scale || 'true',
@@ -358,7 +371,7 @@
        value: 'linkurl',
        text: '链接'
      }],
      forbidden: appType === 'mob'
      forbid: appType === 'mob'
    },
    {
      type: appType === 'pc' ? 'select' : 'cascader',
@@ -367,7 +380,7 @@
      initVal: card.linkmenu || (appType === 'pc' ? '' : []),
      required: true,
      options: menulist,
      forbidden: appType === 'mob'
      forbid: appType === 'mob'
    },
    {
      type: 'textarea',
@@ -375,7 +388,7 @@
      label: '链接地址',
      initVal: card.linkurl || '',
      required: true,
      forbidden: appType === 'mob'
      forbid: appType === 'mob'
    },
    {
      type: 'multiselect',
@@ -384,7 +397,7 @@
      initVal: card.linkfields || [],
      required: false,
      options: fields,
      forbidden: appType === 'mob'
      forbid: appType === 'mob'
    },
    {
      type: 'radio',
@@ -426,7 +439,7 @@
      initVal: card.blacklist || [],
      required: false,
      options: roleList,
      forbidden: appType === 'mob'
      forbid: appType === 'mob'
    }
  ]
}