未验证 提交 2c9dbe3c 编写于 作者: O openharmony_ci 提交者: Gitee

!17739 FIX:修改API文档

Merge pull request !17739 from cheng_jinsong/0427_default
......@@ -30,7 +30,7 @@ getSync(key: string, def?: string): string
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| key | string | 是 | 待查询的系统参数Key。 |
| def | string | 否 | 默认值。 |
| def | string | 否 | def 为所要获取的系统参数的默认值 <br> def为可选参数,仅当系统参数不存在时生效 <br>def可以传undefined(返回空)或自定义的任意值 |
**返回值:**
......@@ -124,7 +124,7 @@ get(key: string, def?: string): Promise&lt;string&gt;
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| key | string | 是 | 待查询的系统参数Key。 |
| def | string | 否 | 默认值。 |
| def | string | 否 | def 为所要获取的系统参数的默认值 <br> def为可选参数,仅当系统参数不存在时生效 <br>def可以传undefined(返回空)或自定义的任意值 |
**返回值:**
......
......@@ -29,7 +29,7 @@ getSync(key: string, def?: string): string
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| key | string | 是 | 待查询的系统参数Key。 |
| def | string | 否 | 默认值。 |
| def | string | 否 | def 为所要获取的系统参数的默认值 <br> def为可选参数,仅当系统参数不存在时生效 <br>def可以传undefined(返回空)或自定义的任意值 |
**返回值:**
......@@ -123,7 +123,7 @@ get(key: string, def?: string): Promise&lt;string&gt;
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| key | string | 是 | 待查询的系统参数Key。 |
| def | string | 否 | 默认值。 |
| def | string | 否 | def 为所要获取的系统参数的默认值 <br> def为可选参数,仅当系统参数不存在时生效 <br>def可以传undefined(返回空)或自定义的任意值 |
**返回值:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册