Antd 表 - 排序不适用于渲染

问题描述:

我在对表格中的数据进行排序时遇到问题,因为当我使用带有渲染功能的排序器时,排序只工作一次

I go problem with sorting data in table because when I using sorter with render function sort work only time

{
  title: 'App',
  dataIndex: 'location',
  render: location => location.join(', '),
  sorter: true
}, {
  title: 'Priority',
  dataIndex: 'priority',
  sorter: true
}

列中的排序按钮不会改变,我从表句柄事件函数中获得了相同的数据.我不想在前端编写排序功能,因为我在后端执行此操作

Sorter buttons in column dosen't change and i got the same data from table handle event function. I dont want write sorter function on frontend because i do this on backend

您可以更新antd-3.11.0版本

you can update antd-3.11.0 version