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') } }