export const tableColumns= [ { title: '序号', dataIndex: 'index', fixed: true }, { title: '文章名称', dataIndex: 'title', fixed: true }, { title: '链接', key: 'url' }, { title: '浏览量', dataIndex: 'viewCount', sorter: (a, b) => a.viewCount - b.viewCount, }, { title: '评论量', dataIndex: 'commentCount', sorter: (a, b) => a.commentCount - b.commentCount, }, { title: '收藏量', dataIndex: 'collectCount', sorter: (a, b) => a.collectCount - b.collectCount, },, { title: '点赞量', dataIndex: 'diggCount', sorter: (a, b) => a.diggCount - b.diggCount, },{ title: '质量分', dataIndex: 'score', sorter: (a, b) => a.score - b.score, }, { title: '发文时间', dataIndex: 'postTime', sorter: (a, b) => new Date(a.postTime) - new Date(b.postTime), }, { title: '建议', dataIndex: 'message', }, { title: '操作', key: 'option', fixed: true }]