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

computed最终值没有改变的情况下组件重新渲染了 #9026

Closed
tmrcui opened this issue Nov 5, 2018 · 2 comments
Closed

computed最终值没有改变的情况下组件重新渲染了 #9026

tmrcui opened this issue Nov 5, 2018 · 2 comments

Comments

@tmrcui
Copy link

tmrcui commented Nov 5, 2018

Version

2.5.17

Reproduction link

https://codepen.io/anon/pen/EOaXpd

Steps to reproduce

  1. 打开chrome dev tool
  2. 点击页面的add按钮
  3. 控制台会打印三个updated

What is expected?

最终值没有改变的情况下组件不需要重新渲染

What is actually happening?

最终值没有改变的情况下组件重新渲染了


2.5.17-beta已经没有这个问题了,什么时候会添加到正式版?

@Justineo
Copy link
Member

Justineo commented Nov 5, 2018

Duplicate of #8540

@Justineo Justineo marked this as a duplicate of #8540 Nov 5, 2018
@Justineo Justineo closed this as completed Nov 5, 2018
@Justineo
Copy link
Member

Justineo commented Nov 5, 2018

See also #7767 & #8751.

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

No branches or pull requests

2 participants