ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

关于table的sortDirections文档说明补充

Open whateveryoudo opened this issue 1 month ago • 2 comments

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

What problem does this feature solve?

“切换排序时按数组内容依次切换,设置在 table props 上时对所有列生效。你可以通过设置 ['ascend', 'descend', 'ascend'] 禁止排序恢复到默认状态。” 这是在react官网文档上看到的

What does the proposed API look like?

可以更新下相关文档部分

whateveryoudo avatar Nov 05 '25 08:11 whateveryoudo

个人在实现的时候,后端只要求升序降序,开始没找到这个配置,自己重置null的状态写了好半天,希望可以补充下相关使用方式说明

whateveryoudo avatar Nov 05 '25 08:11 whateveryoudo

您好!我对这个 good first issue 很感兴趣,希望能负责补充 Table 组件中筛选和排序的文档说明。 我已阅读贡献指南,计划在中英文文档中添加使用示例和简要说明。 如果没有其他人在处理,我可以开始提交 PR 吗?谢谢!

mxs114514 avatar Nov 29 '25 08:11 mxs114514