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
2.30.5
3.2.37
Microsoft Edge 102.0.1245.44 (正式版本) (64 位)
Windows10
https://codesandbox.io/s/gallant-euclid-99tywy?file=/src/Demo.vue
我试图通过render函数中返回的第二个参数做索引列,但是当我使用展开时(renderExpand),传递的索引与预期不符合
renderExpand
点击展开在render函数中传递的索引为当前行索引,而不是随着展开与关闭而变化
render
render函数中传递的索引会随着展开与关闭
The text was updated successfully, but these errors were encountered:
当成一个 feature request 优化吧,之前给 index 的时候就把展开的也考虑进去了,这么处理确实会给用户带来一些困扰
Sorry, something went wrong.
n-data-table
index
在n-table-data中的树型数据中。期望 展开行可以计入 render 的 index 内 @kkfive
在n-table-data中的树型数据中。期望 展开行可以计入 render 的 index 内 @XieZongChen
XieZongChen
Successfully merging a pull request may close this issue.
TuSimple/naive-ui version (版本)
2.30.5
Vue version (Vue 版本)
3.2.37
Browser and its version (浏览器及其版本)
Microsoft Edge 102.0.1245.44 (正式版本) (64 位)
System and its version (系统及其版本)
Windows10
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/gallant-euclid-99tywy?file=/src/Demo.vue
Reappearance steps (重现步骤)
我试图通过render函数中返回的第二个参数做索引列,但是当我使用展开时(
renderExpand
),传递的索引与预期不符合Expected results (期望的结果)
点击展开在
render
函数中传递的索引为当前行索引,而不是随着展开与关闭而变化Actual results (实际的结果)
render
函数中传递的索引会随着展开与关闭Remarks (补充说明)
The text was updated successfully, but these errors were encountered: