优化:取消表格排序按钮Tooltip

This commit is contained in:
Liu 宇阳
2024-11-14 20:15:55 +08:00
parent c2c362980a
commit d5e4112738
5 changed files with 20 additions and 19 deletions

View File

@@ -89,7 +89,8 @@ const CommentPage = () => {
dataIndex: 'createTime',
key: 'createTime',
render: (date: string) => dayjs(+date).format('YYYY-MM-DD HH:mm:ss'),
sorter: (a: Comment, b: Comment) => +a.createTime! - +b.createTime!
sorter: (a: Comment, b: Comment) => +a.createTime! - +b.createTime!,
showSorterTooltip: false
},
{
title: '操作',