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

fix(table): expandedRowRender does't work(#6782) #6783

Merged
merged 1 commit into from
Jul 29, 2023

Conversation

DesignHhuang
Copy link
Contributor

@DesignHhuang DesignHhuang commented Jul 26, 2023

fix: #6782
expandedRowRender is overwrited by slots.expandedRowRender. if slots.expandedRowRender is undefined, it won't render even if you add expandedRowRender prop on <a-table>.

update expandedRowRender={slots.expandedRowRender} to expandedRowRender={slots.expandedRowRender || props.expandedRowRender} can solve this problem.

@DesignHhuang
Copy link
Contributor Author

awaiting approval and run, It’s my first time making this PR. I'm wondering someone have a look. @tangjinzhou

@tangjinzhou tangjinzhou merged commit 4fe57fa into vueComponent:main Jul 29, 2023
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It does't work if you directly using expandedRowRender on <a-table />
2 participants