antd Table排序问题

  {
        dataIndex: 'datasourceType',
        title: formatMessage({ id: 'datasource.type', defaultMessage: '数据源类型' }),
        sorter: (a, b) => a.datasourceType > b.datasourceType ? 1 : -1
   },

  

posted @ 2020-07-23 18:53  lipu1993  阅读(3836)  评论(0编辑  收藏  举报