From 39dfa72e934380ae6782ce8c54d140af9b50cdbb Mon Sep 17 00:00:00 2001 From: yylx_hw_lijin <875896195@qq.com> Date: Mon, 7 Jul 2025 09:15:08 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!8=20:?= =?UTF-8?q?=20fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E6=B3=A8=E9=87=8A=E7=A9=BA?= =?UTF-8?q?=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, 2 insertions(+), 6 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 97c54ed..5366a93 100644 --- a/entry/oh_modules/myhar/src/main/ets/components/MainPage.ets +++ b/entry/oh_modules/myhar/src/main/ets/components/MainPage.ets @@ -24,9 +24,7 @@ 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 97c54ed..5366a93 100644 --- a/myhar/src/main/ets/components/MainPage.ets +++ b/myhar/src/main/ets/components/MainPage.ets @@ -24,9 +24,7 @@ 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