From 2c49483dca2d7ffab380995c783674ad12f602d3 Mon Sep 17 00:00:00 2001 From: wangzhongjie Date: Wed, 12 Feb 2025 13:14:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E4=BA=86=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=96=87=E4=BB=B6=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/compontents/TopLogo.ets | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/entry/src/main/ets/pages/compontents/TopLogo.ets b/entry/src/main/ets/pages/compontents/TopLogo.ets index 629ab637..0e75e84c 100644 --- a/entry/src/main/ets/pages/compontents/TopLogo.ets +++ b/entry/src/main/ets/pages/compontents/TopLogo.ets @@ -7,8 +7,7 @@ export default struct TopLogo { @State ratio: number = 850 / 960 @State timeText: string = ''; @Link outFlag: boolean; //返回按钮触发 - private timer: any = null; - private vocObj = null; + private timer: number = -1; constructor() { super() @@ -65,7 +64,6 @@ export default struct TopLogo { aboutToDisappear() { clearInterval(this.timer) - console.log('jiangsong: topLogo aboutToDisappear222222222') } }