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

datatable 树形数据不排序 #5914

Open
5 tasks done
xinbingyiran opened this issue Apr 30, 2024 · 0 comments
Open
5 tasks done

datatable 树形数据不排序 #5914

xinbingyiran opened this issue Apr 30, 2024 · 0 comments
Labels
untriaged need to sort

Comments

@xinbingyiran
Copy link

xinbingyiran commented Apr 30, 2024

描述错误

当使用树形数据时,设置了sorter,点击标题排序时,只有第一级进行了排序,其它级别不变化。

复现步骤

绑定含有children的data,为columns设置sorter
预览表格,点击表头排序

最小复现链接

https://codesandbox.io/p/sandbox/funny-franklin-2xq2ql

系统信息

  System:
    OS: Windows 11 10.0.22631
    CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
    Memory: 2.11 GB / 7.70 GB
  Binaries:
    Node: 20.9.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.1.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    naive-ui: ^2.38.1 => 2.38.1
    vue: ^3.4.21 => 3.4.23

使用的包管理器

npm

验证

@xinbingyiran xinbingyiran added the untriaged need to sort label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged need to sort
Projects
None yet
Development

No branches or pull requests

1 participant