未验证 提交 7832382a 编写于 作者: O openharmony_ci 提交者: Gitee

!18582 文档仓、接口仓错误码描述统一

Merge pull request !18582 from ZhengJiangliang/master
......@@ -332,6 +332,8 @@ createWindow(config: Configuration, callback: AsyncCallback<Window>): void
| ------- | -------------------------------- |
| 1300001 | Repeated operation. |
| 1300006 | This window context is abnormal. |
| 1300008 | The operation is on invalid display. |
| 1300009 | The parent window is invalid. |
**示例:**
......@@ -381,6 +383,8 @@ createWindow(config: Configuration): Promise<Window>
| ------- | -------------------------------- |
| 1300001 | Repeated operation. |
| 1300006 | This window context is abnormal. |
| 1300008 | The operation is on invalid display. |
| 1300009 | The parent window is invalid. |
**示例:**
......@@ -420,6 +424,14 @@ findWindow(name: string): Window
| ----------------- | ------------------- |
| [Window](#window) | 当前查找的窗口对象。 |
**错误码:**
以下错误码的详细介绍请参见[窗口错误码](../errorcodes/errorcode-window.md)
| 错误码ID | 错误信息 |
| ------- | -------------------------------- |
| 1300002 | This window state is abnormal. |
**示例:**
```js
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册