Skip to content

【bug】table排序顺序不符合预期 #1048

@WebGuHui

Description

@WebGuHui
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.3.5

Environment

chrome,vue^2.6.6,ant-design-vue^1.3.5

Reproduction link

https://github.com/vueComponent/ant-design-vue/blob/master/components/table/Table.jsx#L355

Steps to reproduce

点击表头排序,不符合预期

What is expected?

需要按照 降序/升序/不排序 的排序

What is actually happening?

按照 升序/降序/不排序 的排序


https://github.com/vueComponent/ant-design-vue/blob/master/components/table/Table.jsx#L355
image

代码注解的排序是合理的,不排序点击排序,切换成降序,但是实际代码逻辑写的是切换成升序。希望改回 降序/升序/不排序 的排序切换顺序

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions