From 4a132c271054a1194c7b845b86bd010a20905ced Mon Sep 17 00:00:00 2001 From: ywx1211260 Date: Thu, 23 Mar 2023 16:14:15 +0800 Subject: [PATCH] revise Signed-off-by: ywx1211260 --- .../entry/src/main/ets/MainAbility/pages/web.ets | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets b/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets index 6f9fd80bf..52d7fac4e 100644 --- a/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets +++ b/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets @@ -146,8 +146,10 @@ struct Index { this.enterPageEnd=false }else if(this.isProgressFinish){ console.info("isProgressFinish==>") - Utils.emitEvent(this.progress,114) - this.isProgressFinish=false + if(this.progress="100"){ + Utils.emitEvent(this.progress,114) + this.isProgressFinish=false + } } }) .onConsole((event) => { -- GitLab