data.ts 632 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import { BasicColumn } from '/@/components/Table';
  2. export const columns: BasicColumn[] = [
  3. {
  4. title: 'ID',
  5. dataIndex: 'id',
  6. editComponentProps: {
  7. prefix: '$',
  8. },
  9. width: 100,
  10. },
  11. {
  12. title: '用户名',
  13. dataIndex: 'username',
  14. width: 130,
  15. },
  16. {
  17. title: '标题',
  18. dataIndex: 'title',
  19. width: 150,
  20. },
  21. {
  22. title: 'Url',
  23. dataIndex: 'url',
  24. width: 150,
  25. },
  26. {
  27. title: 'IP',
  28. dataIndex: 'ip',
  29. width: 150,
  30. },
  31. {
  32. title: 'Browser',
  33. dataIndex: 'browser',
  34. width: 170,
  35. },
  36. {
  37. title: '创建时间',
  38. dataIndex: 'time',
  39. width: 150,
  40. },
  41. ];