From 37c0ab57fb54c9c1f098e23b424dfdf9ead285ca Mon Sep 17 00:00:00 2001 From: liujiahui Date: Wed, 18 Jun 2025 15:39:42 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E7=A9=BA=E6=A0=BC=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/oh_modules/myhar/src/main/ets/components/MainPage.ets | 4 +++- myhar/src/main/ets/components/MainPage.ets | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/entry/oh_modules/myhar/src/main/ets/components/MainPage.ets b/entry/oh_modules/myhar/src/main/ets/components/MainPage.ets index 5366a93..97c54ed 100644 --- a/entry/oh_modules/myhar/src/main/ets/components/MainPage.ets +++ b/entry/oh_modules/myhar/src/main/ets/components/MainPage.ets @@ -24,7 +24,9 @@ export struct MainPage { @Builder PagesMap(name: string) { - if (name == 'official') { //According to the user-defined parameter value, if the value is Official, the second page of official will jump correspondingly. + if (name == 'official') { + // According to the user-defined parameter value, if the value is Official, the + // second page of official will jump correspondingly. OfficialSecond(); } else { TestSecond(); diff --git a/myhar/src/main/ets/components/MainPage.ets b/myhar/src/main/ets/components/MainPage.ets index 5366a93..97c54ed 100644 --- a/myhar/src/main/ets/components/MainPage.ets +++ b/myhar/src/main/ets/components/MainPage.ets @@ -24,7 +24,9 @@ export struct MainPage { @Builder PagesMap(name: string) { - if (name == 'official') { //According to the user-defined parameter value, if the value is Official, the second page of official will jump correspondingly. + if (name == 'official') { + // According to the user-defined parameter value, if the value is Official, the + // second page of official will jump correspondingly. OfficialSecond(); } else { TestSecond(); -- Gitee