提交 28e8a5a6 编写于 作者: Q qiang

fix(App): v-for recursion

上级 bb70eca1
...@@ -204,7 +204,10 @@ function setForData (id, value) { ...@@ -204,7 +204,10 @@ function setForData (id, value) {
if (!hasOwn(value, 'keyIndex')) { if (!hasOwn(value, 'keyIndex')) {
vForData[forIndex] = key vForData[forIndex] = key
} else { } else {
(vForData[forIndex] || (vForData[forIndex] = {}))['k' + value.keyIndex] = key if (typeof vForData[forIndex] !== 'object') {
vForData[forIndex] = {}
}
vForData[forIndex]['k' + value.keyIndex] = key
} }
return key return key
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册