From bc671902c16530638cd1310eafece85dfea9e775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Mon, 28 Mar 2022 12:49:09 +0000 Subject: [PATCH] fixed aa54640 from https://gitee.com/ge-yafang/docs/pulls/2667 update zh-cn/application-dev/reference/apis/js-apis-wallpaper.md. Signed-off-by: @ge-yafang --- zh-cn/application-dev/reference/apis/js-apis-wallpaper.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md b/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md index ede1e66493..b542ff5ff6 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md +++ b/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md @@ -503,6 +503,7 @@ setWallpaper(source: string | image.PixelMap, wallpaperType: WallpaperType): Pro console.error(`failed to createPixelMap because: ` + JSON.stringify(error)); }); ``` + ## wallpaper.getFile8+ getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void @@ -530,6 +531,7 @@ getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): vo console.log(`success to getFile: ` + JSON.stringify(data)); }); ``` + ## wallpaper.getFile8+ getFile(wallpaperType: WallpaperType): Promise<number> -- GitLab