export const tableColumns= [ { 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: '质量分', key: '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' }] export const tableGameColumns= [ { title: '用户id', dataIndex: 'uid', sorter: true, fixed: true }, { title: '用户昵称', sorter: true, dataIndex: 'name' }, { title: '城市', sorter: true, dataIndex: 'ip', filters: [ { text: '深圳市', value: '深圳市', }, { text: '上海市', value: '上海市', }, { text: '北京市', value: '北京市', }, { text: '贵阳市', value: '贵阳市', } ] } ]