正确的排序写法
sorter: (a, b) => a.createTime - b.createTime,
错误的写法
sorter: (a, b) => a.createTime - b.createTime>0
正确的排序写法
sorter: (a, b) => a.createTime - b.createTime,
错误的写法
sorter: (a, b) => a.createTime - b.createTime>0
本文标题:antd 表格排序sort的坑
本文链接:https://www.haomeiwen.com/subject/efprextx.html
网友评论