export default {
    listFileds: [
      { label: "标题", name: "title", filter: true, placeholder: "输入标题" },
      { label: "别名", name: "alias", filter: true, placeholder: "输入别名" },
      { label: "类型", name: "type", formater: "dict:link_type" },
      { label: "显示/隐藏", name: "visible", formater: 'dict:essay_istop' },
    ],
    formFiled: [
      { label: "图片", name: "image", formater: "imageUpload" },
      { label: "标题", name: "title" },
      { label: "类型", name: "type", formater: "dict:link_type" },
      { label: "别名", name: "alias" },
      { label: "目标", name: "target" },
      { label: "显示/隐藏", name: "visible", formater: 'switch', activeValue: '1', inactiveValue: '0' },
      { label: "描述", name: "description", placeholder: "输入描述", formater: "textarea" },
      
    ],
    operation: [
      { name: 'edit', label: '修改', icon: 'el-icon-edit' },
      { name: 'delete', label: '删除', icon: 'el-icon-delete' }
    ]
  };