升级鸿蒙API到23版本

This commit is contained in:
JackLee 2026-04-21 12:30:49 +08:00
parent 7bb05556c2
commit 1741abab5f
5 changed files with 16 additions and 8 deletions

View File

@ -7,11 +7,11 @@
"material": {
"certpath": "C:\\Users\\JackLee\\.ohos\\config\\default_OpenCAX_IBQbNZG6W5V0zTmQxRPojupy-F1gTlaQ6msiMPu4JRM=.cer",
"keyAlias": "debugKey",
"keyPassword": "0000001BD635371F28E25E69BF1D7E55AB1BFBCCA66E5359C1DD49F7D565DDB1312AE20C7481F7318E1EAB",
"keyPassword": "0000001B2CD38FF95C9F1C08458296E67652F4DBA4D84D03D4468A904DEDA5C7AA6ADF19C56C0E83DAFDFE",
"profile": "C:\\Users\\JackLee\\.ohos\\config\\default_OpenCAX_IBQbNZG6W5V0zTmQxRPojupy-F1gTlaQ6msiMPu4JRM=.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "C:\\Users\\JackLee\\.ohos\\config\\default_OpenCAX_IBQbNZG6W5V0zTmQxRPojupy-F1gTlaQ6msiMPu4JRM=.p12",
"storePassword": "0000001B3048C3F197421E5E1DEDC267DB510037100BA2AF0FE4444CBA15D3CEC9D10CCF6B88E21FAD8104"
"storePassword": "0000001B34A8AD5BD79AC1BDC8894626A599B5CC3A217A7F911B96A0FDBF8C7411D838809EA9B939B34EEE"
}
}
],
@ -19,8 +19,8 @@
{
"name": "default",
"signingConfig": "default",
"targetSdkVersion": "6.0.2(22)",
"compatibleSdkVersion": "6.0.2(22)",
"targetSdkVersion": "6.1.0(23)",
"compatibleSdkVersion": "6.1.0(23)",
"runtimeOS": "HarmonyOS",
"buildOption": {
"nativeCompiler": "BiSheng",
@ -33,7 +33,7 @@
],
"buildModeSet": [
{
"name": "debug",
"name": "debug"
},
{
"name": "release"

View File

@ -58,6 +58,7 @@ export default class SubWinAbility extends UIAbility {
}
async onWindowStageCreate(windowStage: window.WindowStage): Promise<void> {
windowStage.removeStartingWindow();
this.subWinStage=windowStage;
this.subWin = await windowStage.getMainWindow();
let ctx =this.context.getApplicationContext()

View File

@ -53,6 +53,13 @@
"startWindowBackground": "$color:start_window_background",
"exported": true,
"launchType":"standard",
"metadata":
[
{
"name":"enable.remove.starting.window",
"value":"true"
}
],
"skills": [
{
"entities": [

View File

@ -1,5 +1,5 @@
{
"modelVersion": "6.0.2",
"modelVersion": "6.1.0",
"dependencies": {
},
"execution": {
@ -20,4 +20,4 @@
// "maxOldSpaceSize": 8192 /* Enable nodeOptions maxOldSpaceSize compilation. Unit M. Used for the daemon process. Default: 8192*/
// "exposeGC": true /* Enable to trigger garbage collection explicitly. Default: true*/
}
}
}

View File

@ -1,5 +1,5 @@
{
"modelVersion": "6.0.2",
"modelVersion": "6.1.0",
"description": "Please describe the basic information.",
"dependencies": {
"@ibestservices/ibest-ui-v2": "^1.1.2"