import { globalOption } from '../globalOption';

export const option = {
  ...globalOption,
  height: 'auto',
  calcHeight: 30,
  tip: false,
  dialogClickModal: false,
  header: false,
  menu: true,
  editBtn: false,
  delBtn: false,
  menuWidth: '100',
  column: [
    {
      label: '#',
      prop: 'index',
      fixed: true,
      width: 40,
    },
    {
      label: '名称',
      prop: 'name',
      overHidden: true,
      width: 200,
    },
    {
      label: '类型',
      prop: 'type',
      overHidden: true,
      width: 100,
    },
    {
      label: '格式',
      prop: 'format',
      overHidden: true,
      width: 100,
    },
    {
      label: '状态',
      prop: 'status',
      overHidden: true,
      slot: true,
      width: 150,
    },
    {
      label: 'URL',
      prop: 'url',
      slot: true,
      overHidden: true,
    },
  ],
};
