未验证 提交 4bce3e3d 编写于 作者: 赵杜炜 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-util.md.

Signed-off-by: N赵杜炜 <zhaoduwei3@huawei.com>
上级 351c42f6
...@@ -547,7 +547,7 @@ TextEncoder的构造函数。 ...@@ -547,7 +547,7 @@ TextEncoder的构造函数。
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| ----- | ---- | ---- | ---- | | ----- | ---- | ---- | ---- |
| encoding | string | 否 | 编码格式 | | encoding | string | 否 | 编码格式,默认值为'utf-8'。 |
**示例:** **示例:**
...@@ -567,7 +567,7 @@ encodeInto(input?: string): Uint8Array ...@@ -567,7 +567,7 @@ encodeInto(input?: string): Uint8Array
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| ------ | ------ | ---- | ------------------ | | ------ | ------ | ---- | ------------------ |
| input | string | 否 | 需要编码的字符串。 | | input | string | 否 | 需要编码的字符串,默认值是空串。 |
**返回值:** **返回值:**
...@@ -665,7 +665,7 @@ encode(input?: string): Uint8Array ...@@ -665,7 +665,7 @@ encode(input?: string): Uint8Array
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| input | string | 否 | 需要编码的字符串。 | | input | string | 否 | 需要编码的字符串,默认值是空串。 |
**返回值:** **返回值:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册