提交 11557842 编写于 作者: M mayunteng_1

示例代码修改

Signed-off-by: Nmayunteng_1 <mayunteng@huawei.com>
Change-Id: I4cb2a32fd19a3e3a47c93f248f7fb0465f66b4b6
上级 bb0cd355
......@@ -85,12 +85,12 @@
```ts
import pointer from '@ohos.multimodalInput.pointer';
pointer.setPointerVisible(true, (error) =&gt; {
pointer.setPointerVisible(true, (error) => {
console.log(`Set pointer visible success`);
});
try {
pointer.setPointerVisible(true, (error) =&gt; {
pointer.setPointerVisible(true, (error) => {
if (error) {
console.log(`Set pointer visible failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册