mirror of https://github.com/vuejs/core.git
fix(reactivity): update iterator to check for completion instead of value presence (#13761)
This commit is contained in:
parent
abd563822a
commit
2078f8b756
|
@ -215,7 +215,7 @@ function iterator(
|
|||
iter._next = iter.next
|
||||
iter.next = () => {
|
||||
const result = iter._next()
|
||||
if (result.value) {
|
||||
if (!result.done) {
|
||||
result.value = wrapValue(result.value)
|
||||
}
|
||||
return result
|
||||
|
|
Loading…
Reference in New Issue