diff --git a/zh-cn/application-dev/reference/apis-arkui/js-apis-window.md b/zh-cn/application-dev/reference/apis-arkui/js-apis-window.md index 75356afb13acc3b87dd83edb9638eb20e8e46bf1..517955a9097fb0a9acb02073dcf170c6b7ae3f4c 100644 --- a/zh-cn/application-dev/reference/apis-arkui/js-apis-window.md +++ b/zh-cn/application-dev/reference/apis-arkui/js-apis-window.md @@ -1798,10 +1798,10 @@ setImmersiveModeEnabledState(enabled: boolean): void | 错误码ID | 错误信息 | | ------- | -------------------------------------------- | -| 401 | Parameter error. Possible cause: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | +| 401 | Parameter error. | | 1300002 | This window state is abnormal. | -| 1300003 | This window manager service work abnormally. | -| 1300004 | This operation is not access. | +| 1300003 | This window manager service works abnormally. | +| 1300004 | Unauthorized operation. | **示例:** @@ -1836,8 +1836,8 @@ getImmersiveModeEnabledState(): boolean | 错误码ID | 错误信息 | | -------- | -------------------------------------------- | | 1300002 | This window state is abnormal. | -| 1300003 | This window manager service work abnormally. | -| 1300004 | This operation is not access. | +| 1300003 | This window manager service works abnormally. | +| 1300004 | Unauthorized operation. | **示例:** @@ -2918,7 +2918,7 @@ on(type: 'avoidAreaChange', callback: Callback<AvoidAreaOptions>): void | 错误码ID | 错误信息 | | ------- | -------------------------------------------- | -| 401 | Parameter error. Possible cause: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | +| 401 | Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | **示例:** @@ -2956,7 +2956,7 @@ off(type: 'avoidAreaChange', callback?: Callback<AvoidAreaOptions>): void | 错误码ID | 错误信息 | | ------- | -------------------------------------------- | -| 401 | Parameter error. Possible cause: 1. Incorrect parameter types; 2. Parameter verification failed. | +| 401 | Parameter error. Possible causes: 1. Incorrect parameter types; 2. Parameter verification failed. | **示例:** @@ -6696,14 +6696,6 @@ setLayoutFullScreen(isLayoutFullScreen: boolean, callback: AsyncCallback<void | isLayoutFullScreen | boolean | 是 | 窗口的布局是否为沉浸式布局(该沉浸式布局不影响状态栏、导航栏显示)。true表示沉浸式布局;false表示非沉浸式布局。 | | callback | AsyncCallback<void> | 是 | 回调函数。 | -**错误码:** - -以下错误码的详细介绍请参见[通用错误码](../errorcode-universal.md)。 - -| 错误码ID | 错误信息 | -| ------- | -------------------------------------------- | -| 401 | Parameter error. Possible cause: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | - **示例:** ```ts @@ -6763,14 +6755,6 @@ setLayoutFullScreen(isLayoutFullScreen: boolean): Promise<void> | ------------------- | ------------------------- | | Promise<void> | 无返回结果的Promise对象。 | -**错误码:** - -以下错误码的详细介绍请参见[通用错误码](../errorcode-universal.md)。 - -| 错误码ID | 错误信息 | -| ------- | -------------------------------------------- | -| 401 | Parameter error. Possible cause: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | - **示例:** ```ts