From c6b86c8b102e2c92cca94376fbeeece96247dedc Mon Sep 17 00:00:00 2001 From: hzt Date: Mon, 26 May 2025 14:50:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A4=84=E7=90=86=E6=A0=87=E8=AF=86?= =?UTF-8?q?=E4=B8=AD=E5=B8=B8=E9=87=8F=E6=9C=AA=E6=9B=BF=E6=8D=A2=EF=BC=8C?= =?UTF-8?q?=E5=88=A0=E9=99=A4json5=E4=B8=AD=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entry/src/main/module.json5 | 14 +------------- entry/src/main/ets/pages/OriginPage.ets | 2 +- entry/src/main/module.json5 | 2 -- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/dependence/PulledUpApplication/entry/src/main/module.json5 b/dependence/PulledUpApplication/entry/src/main/module.json5 index 321db63..b56af1c 100644 --- a/dependence/PulledUpApplication/entry/src/main/module.json5 +++ b/dependence/PulledUpApplication/entry/src/main/module.json5 @@ -1,7 +1,5 @@ -// [Start module1] { "module": { - // [StartExclude module1] "name": "entry", "type": "entry", "description": "$string:module_desc", @@ -13,10 +11,8 @@ "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", - // [EndExclude module1] "abilities": [ { - // [StartExclude module1] "name": "EntryAbility", "srcEntry": "./ets/entryability/EntryAbility.ets", "description": "$string:EntryAbility_desc", @@ -25,20 +21,15 @@ "startWindowIcon": "$media:startIcon", "startWindowBackground": "$color:start_window_background", "exported": true, - // [EndExclude module1] "skills": [ { "entities": [ - // [StartExclude module1] "entity.system.home", "entity.system.default", - // [EndExclude module1] "entity.system.browsable" ], "actions": [ - // [StartExclude module1] "action.system.home", - // [EndExclude module1] "ohos.want.action.viewData", ], "uris": [ @@ -53,7 +44,6 @@ ] } ], - // [StartExclude module1] "extensionAbilities": [ { "name": "EntryBackupAbility", @@ -68,7 +58,5 @@ ], } ], - // [EndExclude module1] } -} -// [End module1] \ No newline at end of file +} \ No newline at end of file diff --git a/entry/src/main/ets/pages/OriginPage.ets b/entry/src/main/ets/pages/OriginPage.ets index 484e2dc..187c4e4 100644 --- a/entry/src/main/ets/pages/OriginPage.ets +++ b/entry/src/main/ets/pages/OriginPage.ets @@ -42,7 +42,7 @@ export struct OriginPage { }) } // [EndExclude nav_dest] - .title(this.la = Constants.ENGLISH_LANGUAGE ? Constants.ORIGIN_PAGE : Constants.ORIGIN_PAGE_CHINESE) + .title(this.la = 'en-Latn-CN' ? 'OriginPage' : 'NativePage') // [End nav_dest] } } \ No newline at end of file diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index 07b2fc3..82d268e 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -58,10 +58,8 @@ ], } ], - // [Start query_scheme] "querySchemes": [ "app1Scheme" ], - // [End query_scheme] } } \ No newline at end of file -- Gitee