未验证 提交 59a5384e 编写于 作者: O openharmony_ci 提交者: Gitee

!3540 【轻量级 PR】: fix the docs of hichecker

Merge pull request !3540 from 卢韬/N/A
......@@ -6,7 +6,7 @@
## 导入模块
```
```js
import hichecker from '@ohos.hichecker';
```
......@@ -42,7 +42,7 @@ addRule(rule: BigInt): void
**示例:**
```
```js
// 添加一条规则
hichecker.addRule(hichecker.RULE_CAUTION_PRINT_LOG);
......@@ -67,7 +67,7 @@ removeRule(rule: BigInt): void
**示例:**
```
```js
// 删除一条规则
hichecker.removeRule(hichecker.RULE_CAUTION_PRINT_LOG);
......@@ -92,7 +92,7 @@ getRule(): BigInt
**示例:**
```
```js
// 添加一条规则
hichecker.addRule(hichecker.RULE_THREAD_CHECK_SLOW_PROCESS);
......@@ -122,7 +122,7 @@ contains(rule: BigInt): boolean
**示例:**
```
```js
// 添加一条规则
hichecker.addRule(hichecker.RULE_THREAD_CHECK_SLOW_PROCESS);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册