Skip to content

当watch中设置另一个值为undefined, 父子数组不同步, 双向绑定出bug #235

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
tswordyao opened this issue Dec 3, 2018 · 1 comment
Assignees

Comments

@tswordyao
Copy link

tswordyao commented Dec 3, 2018

demo地址: https://codepen.io/anon/pen/jQJYQo

此bug在0.5和0.6上都存在, 与两个属性前后顺序有关.

看起来是同时传入propsA和propsB, watchB中改另一个propA导致漏过了digest

@fengzilong
Copy link
Member

应该和顺序没关系,这个问题在只有一个属性的时候也可以复现,已经在 pr 中修复了

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants