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

antd table升降序失效

Open AlbertEjiestein opened this issue 1 year ago • 1 comments
trafficstars

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

Version

1.7.2

Environment

mac,chrome 120.0.6099.216,vue2

Reproduction link

https://zanwufatigonglianjie

Steps to reproduce

columns = [{ dataIndex: "likeCount", sorter: true, className: "align-right", slots: { title: "likeCount" }, sortKey: 1, width: 120 }]

What is expected?

期望使用插槽时,同时允许升降序能生效

What is actually happening?

使用插槽时,sorter和slots会冲突,导致升降序失效,查看日志是一直返回ascend(实际是需要多次点击降序才能切换成功) 类似案例,但具体使用有差异无法复用:https://blog.csdn.net/qq_27674439/article/details/128717417

AlbertEjiestein avatar Jan 24 '24 14:01 AlbertEjiestein

这个组件库老版本1.xxbug挺多的,新项目最好不要用了。

tiansQAQ avatar Jan 25 '24 08:01 tiansQAQ

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Mar 26 '24 02:03 github-actions[bot]