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 5366a9378251cb0260a5e8b3ad28e03086eeddf2..97c54ed2350780941a5d3f807e2efd9ee977d635 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 5366a9378251cb0260a5e8b3ad28e03086eeddf2..97c54ed2350780941a5d3f807e2efd9ee977d635 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();