Skip to content

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

Description

@tswordyao

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

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

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

Activity

  1. self-assigned this
    on Jan 16, 2019
  2. added 2 commits that reference this issue on Jan 18, 2019
    9da0f9c
    ef2b124
  3. nanokind commented on Jan 18, 2019

    @nanokind
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions