Skip to content
New issue

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

[Table] 树形表格EnhancedTable不支持multipleSort #3190

Open
guoqirong opened this issue Nov 11, 2024 · 2 comments
Open

[Table] 树形表格EnhancedTable不支持multipleSort #3190

guoqirong opened this issue Nov 11, 2024 · 2 comments

Comments

@guoqirong
Copy link

tdesign-react 版本

1.5.3

重现链接

https://codesandbox.io/p/sandbox/tdesign-react-demo-forked-zxs89d?file=%2Fsrc%2Fdemo.jsx%3A197%2C8-197%2C21

重现步骤

启用multipleSort,onSortChange返回undefined
image

期望结果

可以支持多列排序

实际结果

不支持多列排序,启用多列排序,排序方法返回undefined

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @guoqirong,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@huangchen1031
Copy link
Contributor

看起来是multipleSort模式下没有处理sort为空,加一个defaultSort={[]}可以暂时解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants