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

Table: fix table header slot not reactive #21297

Closed
wants to merge 1 commit into from
Closed

Table: fix table header slot not reactive #21297

wants to merge 1 commit into from

Conversation

qyzzzz
Copy link

@qyzzzz qyzzzz commented Sep 3, 2021

close #20453
只有slot的情况下,table-header无法收集到slot组件下的依赖信息,造成了data的改变没有触发table-header更新。
pr里的解决方案是:有设置slot情况下,在beforeUpdate时,重新给renderHeader赋值,触发table-header的更新。

  • Make sure you follow Element's contributing guide (中文 | English | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

@element-bot
Copy link
Member

✔️ Deploy Preview for element ready!

🔨 Explore the source changes: bbed981

🔍 Inspect the deploy log: https://app.netlify.com/sites/element/deploys/61320b3625971c00079b4194

😎 Browse the preview: https://deploy-preview-21297--element.netlify.app/

@qyzzzz qyzzzz marked this pull request as ready for review September 3, 2021 11:51
@edum18
Copy link

edum18 commented Feb 17, 2022

We need this released.

zhongwenandyiming pushed a commit to zhongwenandyiming/element that referenced this pull request Jun 13, 2023
This pull request was closed.
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.

[Bug Report] 动态table-column,数据改变不会更新表头的内容
3 participants