提交 e1f92667 编写于 作者: M Mupceet

xts event case modify

Signed-off-by: NMupceet <laiguizhong@huawei.com>
上级 d0af3db7
...@@ -326,10 +326,9 @@ export default function abilityTest(abilityContext) { ...@@ -326,10 +326,9 @@ export default function abilityTest(abilityContext) {
await accessibility.sendEvent(event); await accessibility.sendEvent(event);
setTimeout(() => { setTimeout(() => {
let types = eventTypes;
let findResult = false; let findResult = false;
for (let type of types) { for (let item of events) {
if (type == eventType) { if (item.eventType == eventType) {
findResult = true; findResult = true;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册