diff --git a/zh-cn/application-dev/reference/apis/js-apis-uitest.md b/zh-cn/application-dev/reference/apis/js-apis-uitest.md index d4a4cb36f1e7a68b948409818f0f93d701118b08..97aba563b3c766e6d7c99129dc976bfd65cae1b5 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-uitest.md +++ b/zh-cn/application-dev/reference/apis/js-apis-uitest.md @@ -1605,7 +1605,7 @@ assertComponentExist(on: On): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000003 | Component existence assertion failed. | +| 17000003 | if the assertion failed. | **示例:** @@ -2521,7 +2521,7 @@ getBundleName(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | **示例:** @@ -2554,7 +2554,7 @@ getBounds(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | **示例:** @@ -2587,7 +2587,7 @@ getTitle(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | **示例:** @@ -2620,7 +2620,7 @@ getWindowMode(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | **示例:** @@ -2653,7 +2653,7 @@ isFocused(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | **示例:** @@ -2686,7 +2686,7 @@ isActived(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | **示例:** @@ -2713,7 +2713,7 @@ focus(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | **示例:** @@ -2747,7 +2747,7 @@ moveTo(x: number, y: number): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | | 17000005 | if the action is not supported on this window. | **示例:** @@ -2783,7 +2783,7 @@ resize(wide: number, height: number, direction: ResizeDirection): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | | 17000005 | if the action is not supported on this window. | **示例:** @@ -2811,7 +2811,7 @@ split(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | | 17000005 | if the action is not supported on this window. | **示例:** @@ -2839,7 +2839,7 @@ maximize(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | | 17000005 | if the action is not supported on this window. | **示例:** @@ -2867,7 +2867,7 @@ minimize(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | | 17000005 | if the action is not supported on this window. | **示例:** @@ -2895,7 +2895,7 @@ resume(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | | 17000005 | if the action is not supported on this window. | **示例:** @@ -2923,7 +2923,7 @@ close(): Promise\ | 错误码ID | 错误信息 | | -------- | ---------------------------------------- | | 17000002 | if the async function was not called with await. | -| 17000004 | if the component is invisible or destroyed. | +| 17000004 | if the window is invisible or destroyed. | | 17000005 | if the action is not supported on this window. | **示例:**