diff --git a/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets b/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets index 96510255aa06e4639eb04f5bdd6cbdf8eb8484a2..e920545c9c9b384bdc21a5e6c71cf0675baba083 100644 --- a/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets +++ b/graphic/windowStage/entry/src/main/ets/test/windowCallback.test.ets @@ -713,7 +713,6 @@ export default function windowCallbackTest(context, windowStage, abilityStorage) } else { console.log(msgStr + 'SCC tempData.contentColor:' + JSON.stringify(tempData.contentColor)); } - if (compareCount === 18 && !flag) { console.log(msgStr + 'if compareCount: ' + compareCount + ' ,true flag:' + flag); try { @@ -742,8 +741,6 @@ export default function windowCallbackTest(context, windowStage, abilityStorage) } else { console.log(msgStr + 'NCC tempData.contentColor:' + JSON.stringify(tempData.contentColor)); } - let ca = cloneColorArr; - let flag = ca.NCC.length || ca.NBC.length || ca.SBC.length || ca.SCC.length if (compareCount === 18 && !flag) { console.log(msgStr + 'else compareCount: ' + compareCount + ' ,true flag:' + flag); try {