提交 72615ae7 编写于 作者: L lijialang

更新month 分支 uitest.md代码规范

Signed-off-by: Nlijialang <lijialang2@huawei.com>
上级 ed6c8ee4
......@@ -2282,7 +2282,7 @@ injectMultiPointerAction(pointers: PointerMatrix, speed?: number): Promise\<bool
**示例:**
```typescript
import { PointerMatrix } from '@ohos.UiTest';
import { Driver, PointerMatrix } from '@ohos.UiTest';
async function demo() {
let driver = Driver.create();
let pointers = PointerMatrix.create(2,3);
......@@ -2322,7 +2322,7 @@ fling(direction: UiDirection, speed: number): Promise\<void>;
**示例:**
```typescript
import { PointerMatrix, UiDirection } from '@ohos.UiTest';
import { Driver, UiDirection } from '@ohos.UiTest';
async function demo() {
let driver = Driver.create();
await driver.fling(UiDirection.DOWN, 10000);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册