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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{ {
"modelVersion": "6.0.2", "modelVersion": "6.1.0",
"dependencies": { "dependencies": {
}, },
"execution": { "execution": {

View File

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