Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

多触发一次change事件 #31

Open
ghost opened this issue Jun 11, 2018 · 1 comment
Open

多触发一次change事件 #31

ghost opened this issue Jun 11, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 11, 2018

src/scripts/mixins/sync.js
第20-24行,为什么this.currentValue = undefined
把空数组变为undefined导致在项目中watchthis.currentValue的变化时多触发一次change事件。

@ghost
Copy link
Author

ghost commented Jun 11, 2018

uc 20180611185522

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants