src\core\vdom\create-element.js createElement函数
cuntoulishifu opened this issue · 0 comments
cuntoulishifu commented
您好
请问 src\core\vdom\create-element.js createElement函数里
if (Array.isArray(data) || isPrimitive(data)) {
debugger
normalizationType = children
children = data
data = undefined
}
我不懂为什么要这么做,还希望能够指点一下,万分感谢!