ElemeFE / ElemeFE/element

[Feature Request] About rendering order of "props.renderHeader" and "$slot.header"

Open
#21,320 0 comments 0 reactions 0 assignees View on GitHub
component: table status: in plan type: feature request
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component
Yes

### Component Name
Table

### Description
When a page uses both slots(#header) and renderHeader, only renderHeader will always be executed, ignoring the contents of the slots。
Currently:
Rendering priority: props.renderHeader > slots(#header) > column.label

Expected:
Rendering priority: slots(#header) > props.renderHeader > column.label

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.