You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console should not has error, and the result in dom should be empty
What is actually happening?
console shows "Cannot read property 'length' of undefined
at simpleNormalizeChildren"
before the version 2.5.16, it works fine, and I saw the source, when compile the template, function genChildren choose an error normalizationType, it should be ALWAYS_NORMALIZE.
and I think there is something wrong when compiling v-for and component with an "undefined" list because I find this words in 'src/core/vdom/helpers/normalize-children.js':
Version
2.5.19
Reproduction link
https://codepen.io/anon/pen/roaKMY
Steps to reproduce
open the link and open the console
What is expected?
console should not has error, and the result in dom should be empty
What is actually happening?
console shows "Cannot read property 'length' of undefined
at simpleNormalizeChildren"
before the version 2.5.16, it works fine, and I saw the source, when compile the template, function genChildren choose an error normalizationType, it should be
ALWAYS_NORMALIZE
.and I think there is something wrong when compiling v-for and component with an "undefined" list because I find this words in
'src/core/vdom/helpers/normalize-children.js'
:vue/src/core/vdom/helpers/normalize-children.js
Lines 27 to 30 in d780dd2
The text was updated successfully, but these errors were encountered: