提交 f84a8259 编写于 作者: M mayunteng_1

用例修改

Signed-off-by: Nmayunteng_1 <mayunteng@huawei.com>
Change-Id: I972d88b1b44585d464d8c60a482145f4a8c166e2
上级 014a78b8
......@@ -359,7 +359,7 @@ off(type: 'cooperation', callback?: AsyncCallback\<void>): void
function callback(event) {
console.log(`Keyboard mouse crossing event: ${JSON.stringify(event)}`);
return false;
},
}
try {
inputDeviceCooperate.on('cooperation', callback);
inputDeviceCooperate.off("cooperation", callback);
......@@ -372,7 +372,7 @@ try {
function callback(event) {
console.log(`Keyboard mouse crossing event: ${JSON.stringify(event)}`);
return false;
},
}
try {
inputDeviceCooperate.on('cooperation', callback);
inputDeviceCooperate.off("cooperation");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册