列头加入属性


{
  title: "申请日期",
  dataIndex: "applicationDateFmt",
  key: "applicationDateFmt",
  //排序方法
  // defaultSortOrder: 'ascend', // 默认上到下为由大到小的顺序
  sorter: (a, b) => {
    return a.applicationDateFmt > b.applicationDateFmt ? 1 : -1
  },
  align: 'center',
  width: '160px'
},
最后修改:2021 年 09 月 16 日
如果觉得我的文章对你有用,请点个赞支持一下