Skip to content

Conversation

@cheqianxiao
Copy link

支持多级表头

element-ui中table-column组件的render函数中使用的是this.$slots.defaultline315) ,而this.$scopedSlots.default 用于渲染单元格(line174 )。所以,如果用scopedSlots渲染子表头,则每渲染一个对应单元格,都会往thead中插入一列,导致表头重复。

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

Successfully merging this pull request may close these issues.

1 participant