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

virtual-column不支持多表头 #39

Closed
vjguo opened this issue Nov 10, 2023 · 2 comments
Closed

virtual-column不支持多表头 #39

vjguo opened this issue Nov 10, 2023 · 2 comments

Comments

@vjguo
Copy link

vjguo commented Nov 10, 2023

想所有列都用virtual-column替代el-table-column,
但目前嵌套virtual-column行为有问题。

el-table-column默认插槽 和 default 的作用域插槽 行为不一样。
el-table-column用作用域插槽嵌套不能实现多表头。
virtual-column只提供了default作用域插槽。

@xiaocheng555
Copy link
Owner

想所有列都用virtual-column替代el-table-column, 但目前嵌套virtual-column行为有问题。

el-table-column默认插槽 和 default 的作用域插槽 行为不一样。 el-table-column用作用域插槽嵌套不能实现多表头。 virtual-column只提供了default作用域插槽。

已支持,升级el-table-virtual-scroll@1.0.21 版本

@vjguo
Copy link
Author

vjguo commented Nov 28, 2023

想所有列都用virtual-column替代el-table-column, 但目前嵌套virtual-column行为有问题。
el-table-column默认插槽 和 default 的作用域插槽 行为不一样。 el-table-column用作用域插槽嵌套不能实现多表头。 virtual-column只提供了default作用域插槽。

已支持,升级el-table-virtual-scroll@1.0.21 版本

现在好像渲染模板的时候,有个阶段获取不到作用域插槽参数。
导致获取作用域插槽参数row上的字段时,报undefined错误。

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