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: change data wont update #5002

Merged
merged 2 commits into from
May 13, 2023
Merged

fix: change data wont update #5002

merged 2 commits into from
May 13, 2023

Conversation

Aarebecca
Copy link
Contributor

主要原因是图例组件使用 Layout 组件包了一层
导致 plot runtime 更新组件属性时,拿到的属性是从 Layout 组件上拿的,并没有取到组件的数据,导致没有更新上

image

Copy link
Member

@pearmini pearmini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加一个测试,如果已有测试就更新截图。

@hustcc hustcc changed the title fix: fix issue that change data wont update fix: change data wont update May 12, 2023
@pearmini pearmini merged commit cb48076 into v5 May 13, 2023
@pearmini pearmini deleted the fix/fix-legend-update branch May 13, 2023 04:57
hustcc pushed a commit that referenced this pull request May 16, 2023
* fix: fix issue that change data wont update

* test: update test snapshot
hustcc pushed a commit that referenced this pull request May 16, 2023
* fix: fix issue that change data wont update

* test: update test snapshot
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.

[v5] 调用 changeData 后,图例没有同步更新。
2 participants