提交 2968bd8a 编写于 作者: M mingxihua

mingxihua@huawei.com.cn

Signed-off-by: Nmingxihua <mingxihua@huawei.com>
上级 a79bc94c
......@@ -35,7 +35,7 @@ getId(uri: string): number
**示例:**
```ts
var id = dataUriUtils.getId("com.example.dataUriUtils/1221");
let id = dataUriUtils.getId("com.example.dataUriUtils/1221");
```
......@@ -64,8 +64,8 @@ attachId(uri: string, id: number): string
**示例:**
```ts
var id = 1122;
var uri = dataUriUtils.attachId(
let id = 1122;
let uri = dataUriUtils.attachId(
"com.example.dataUriUtils",
id,
)
......@@ -96,7 +96,7 @@ deleteId(uri: string): string
**示例:**
```ts
var uri = dataUriUtils.deleteId("com.example.dataUriUtils/1221")
let uri = dataUriUtils.deleteId("com.example.dataUriUtils/1221")
```
......@@ -125,8 +125,8 @@ updateId(uri: string, id: number): string
**示例:**
```ts
var id = 1122;
var uri = dataUriUtils.updateId(
let id = 1122;
let uri = dataUriUtils.updateId(
"com.example.dataUriUtils/1221",
id
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册