diff --git a/CompilingAndBuilding/build-profile_ohmurl.json5 b/CompilingAndBuilding/build-profile_ohmurl.json5 index eb69468c38a262e9a2b6a26c3a1aa3d33c39e31f..2ee2f9ff3c0363674e571bf79b288624f01e00cf 100644 --- a/CompilingAndBuilding/build-profile_ohmurl.json5 +++ b/CompilingAndBuilding/build-profile_ohmurl.json5 @@ -5,13 +5,13 @@ "signingConfigs": [], "products": [ { - // [StartExclude build_profile_ohmurl1] + // [StartExclude build_profile_ohmurl] "name": "default", "signingConfig": "default", "compatibleSdkVersion": "5.0.4(16)", "compileSdkVersion": "5.0.4(16)", "runtimeOS": "HarmonyOS", - // [EndExclude build_profile_ohmurl1] + // [EndExclude build_profile_ohmurl] "buildOption": { "strictMode": { "useNormalizedOHMUrl": true @@ -19,7 +19,7 @@ } } ], - // [StartExclude build_profile_ohmurl2] + // [StartExclude build_profile_ohmurl] "buildModeSet": [ { "name": "debug", @@ -43,6 +43,6 @@ ] }, ], - // [EndExclude build_profile_ohmurl2] + // [EndExclude build_profile_ohmurl] } // [End build_profile_ohmurl] \ No newline at end of file diff --git a/Ndk/ndk1/callbackToArkts/src/main/ets/pages/Index.ets b/Ndk/ndk1/callbackToArkts/src/main/ets/pages/Index.ets index ad1aca6abb36a8a089a5c3acde555419f345645a..8af9594295c2c844c945e5166000f2f97ded95e7 100644 --- a/Ndk/ndk1/callbackToArkts/src/main/ets/pages/Index.ets +++ b/Ndk/ndk1/callbackToArkts/src/main/ets/pages/Index.ets @@ -1,22 +1,22 @@ //FAQ:ArkTS侧如何接收Native侧的键值对进行修改并返回到Native侧 // [Start call_back_to_arkts_ets] import testNapi from 'libentry.so'; -// [StartExclude call_back_to_arkts_ets1] +// [StartExclude call_back_to_arkts_ets] const DOMAIN = 0x0000; @Entry @Component struct Index { @State message: string = 'Hello World'; - // [EndExclude call_back_to_arkts_ets1] + // [EndExclude call_back_to_arkts_ets] build() { - // [StartExclude call_back_to_arkts_ets2] + // [StartExclude call_back_to_arkts_ets] Row() { Column() { Text(this.message) .fontSize($r('app.float.page_text_font_size')) .fontWeight(FontWeight.Bold) - // [EndExclude call_back_to_arkts_ets2] + // [EndExclude call_back_to_arkts_ets] .onClick(() => { let data: Record = testNapi.callbackToArkTS((value: object) => { let obj: Record = value as Record;