mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-19 14:33:33 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user