mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
Bugfix: fixed listItem component transform
Signed-off-by: laibo102 <laibo2@huawei.com> Change-Id: Ie055b3c53bd82836cdc40793116c19298579fa3d
This commit is contained in:
@@ -2007,7 +2007,7 @@ function checkButtonParamHasLabel(node: ts.EtsComponentExpression, log: LogInfo[
|
||||
|
||||
function isLazyForEachChild(node: ts.ExpressionStatement): boolean {
|
||||
let temp: any = node.parent;
|
||||
while(!ts.isEtsComponentExpression(temp) && !ts.isCallExpression(temp)) {
|
||||
while(temp && !ts.isEtsComponentExpression(temp) && !ts.isCallExpression(temp)) {
|
||||
temp = temp.parent;
|
||||
}
|
||||
if (temp && temp.expression && (temp.expression as ts.Identifier).escapedText.toString() === COMPONENT_LAZYFOREACH) {
|
||||
|
||||
Reference in New Issue
Block a user