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

data-table组件行合并显示错乱 #6618

Open
5 tasks done
Faith-yin opened this issue Dec 13, 2024 · 1 comment
Open
5 tasks done

data-table组件行合并显示错乱 #6618

Faith-yin opened this issue Dec 13, 2024 · 1 comment
Labels
untriaged need to sort

Comments

@Faith-yin
Copy link

Faith-yin commented Dec 13, 2024

描述错误

n-data-table组件行合并显示错乱,好像是二级表头时子级列设置行合并策略后会导致错乱。如下图

00

复现步骤

1、使用vue、naiveui,版本信息见【系统信息】
2、设置columns、data,columns中设置二级表头并在子级中设置rowSpan属性
3、可以复现出来表格行合并错乱

最小复现链接

https://codesandbox.io/p/sandbox/naiveui-tablezu-jian-xing-he-bing-cuo-luan-wen-ti-45wvm8

系统信息

System:
    OS: Windows 11 10.0.26100
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12500H
    Memory: 5.29 GB / 15.73 GB
  Binaries:
    Node: 16.19.1 - D:\software\node\node.EXE
    npm: 8.19.3 - D:\software\node\npm.CMD
    pnpm: 8.6.5 - D:\software\node_cache\globe_modules\pnpm.CMD
  Browsers:
    Edge: Chromium (126.0.2592.87)
    Internet Explorer: 11.0.26100.1882
  npmPackages:
    naive-ui: ^2.40.3 => 2.40.3
    vue: ^3.2.25 => 3.2.37

使用的包管理器

npm

验证

@Faith-yin Faith-yin added the untriaged need to sort label Dec 13, 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

2 participants