We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
具体情况如上
1.添加n-data-table的分组表头 2.设置含有children的datalist
无
win11 edge 131.0.2903.86, naive-ui 2.40.0
pnpm
The text was updated successfully, but these errors were encountered:
<template> <div> <n-data-table style="width: 400px" striped :single-line="false" :columns="c" :data="d"></n-data-table> </div> </template> <script setup lang="ts"> const c: any = [ { title: 'a', key: 'a', }, { title: 'b', key: 'b', children: [ { title: 'b1', key: 'b1' }, { title: 'b2', key: 'b2' }, ], }, ] const d: any = [ { a: 'a1', b1: 'b1', b2: 'b2', children: [ { a: 'a2', b1: 'b2', b2: 'b2', }, { a: 'a1', b1: 'b1', b2: 'b2', }, ], }, ] </script>
Sorry, something went wrong.
Provide a based on CodeSandbox or stackblitz `s Minimal Reproducible Example
https://codesandbox.io/p/devbox/jovial-pateu-j7swky
Successfully merging a pull request may close this issue.
Describe the bug
具体情况如上
Steps to reproduce
1.添加n-data-table的分组表头
2.设置含有children的datalist
Link to minimal reproduction
无
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: