fix for and if recursive function not ending when item of array is null

Signed-off-by: liwenzhen <liwenzhen3@outlook.com>
Change-Id: Iad01050451017cacd1f14ae337c07358f0db77ef
This commit is contained in:
liwenzhen
2021-10-12 17:22:38 +08:00
parent 5d02350a20
commit 9fa546253e
+1 -1
View File
@@ -311,7 +311,7 @@ function compileShown(
if (isBlock(dest) && dest.children) {
dest.children.push(fragBlock);
}
if (meta.repeat) {
if (hasOwn(meta, 'repeat')) {
newMeta.repeat = meta.repeat;
}
bindShown(vm, target, fragBlock, newMeta);