We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
last
any
https://github.com/vueComponent/ant-design-vue
表格的column数组中,对其中超过一列设置排序属性sortOrder,这时候渲染会错误。 比如:
const columns: TableColumnType<TableDataType>[] = [ { title: 'Name', dataIndex: 'name', sorter: true, sortOrder: 'descend' // 排序 }, { title: 'Age', dataIndex: 'age', sorter: true, sortOrder: 'descend' // 排序 }, { title: 'Address', dataIndex: 'address' } ];
排序的UI根据sortOrder设置的值进行展示,并且点击时候会进行切换。各列的排序互不影响。
当设置sortOrder的列数大于1,第二列及以后的列都会展示错误的UI,并且点击不会正确的触发排序功能。
The text was updated successfully, but these errors were encountered:
你需要设置 sorter.multiple 字段以配置多列排序优先级。参考
sorter.multiple
Sorry, something went wrong.
No branches or pull requests
Version
last
Environment
any
Reproduction link
https://github.com/vueComponent/ant-design-vue
Steps to reproduce
表格的column数组中,对其中超过一列设置排序属性sortOrder,这时候渲染会错误。
比如:
What is expected?
排序的UI根据sortOrder设置的值进行展示,并且点击时候会进行切换。各列的排序互不影响。
What is actually happening?
当设置sortOrder的列数大于1,第二列及以后的列都会展示错误的UI,并且点击不会正确的触发排序功能。
The text was updated successfully, but these errors were encountered: