links-constants.js 838 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // 表格列信息
  2. const table = {
  3. columns: [
  4. {
  5. title: 'ID',
  6. align: 'center',
  7. dataIndex: 'id'
  8. },
  9. {
  10. title: '排序',
  11. align: 'center',
  12. dataIndex: 'sort'
  13. },
  14. {
  15. title: '友链名称',
  16. align: 'center',
  17. dataIndex: 'name'
  18. },
  19. {
  20. title: '友链标题',
  21. align: 'center',
  22. dataIndex: 'title'
  23. },
  24. {
  25. title: 'logo',
  26. dataIndex: 'logo',
  27. align: 'center',
  28. scopedSlots: { customRender: 'logo' }
  29. },
  30. {
  31. title: '友链地址',
  32. align: 'center',
  33. dataIndex: 'href'
  34. },
  35. {
  36. title: '操作',
  37. dataIndex: 'action',
  38. align: 'center',
  39. width: '150px',
  40. scopedSlots: { customRender: 'action' }
  41. }
  42. ]
  43. }
  44. // 表格里面的列key value
  45. const filters = {}
  46. export { table, filters }