From 2968bd8aef003ebdad96560c1698466f1e9cdd44 Mon Sep 17 00:00:00 2001 From: mingxihua Date: Thu, 5 Jan 2023 11:27:56 +0800 Subject: [PATCH] mingxihua@huawei.com.cn Signed-off-by: mingxihua --- .../reference/apis/js-apis-ability-dataUriUtils.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-ability-dataUriUtils.md b/zh-cn/application-dev/reference/apis/js-apis-ability-dataUriUtils.md index 46ce2c3a91..0d5aaf26a2 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-ability-dataUriUtils.md +++ b/zh-cn/application-dev/reference/apis/js-apis-ability-dataUriUtils.md @@ -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 ) -- GitLab