From 50b6c7f5a6cdb5c355315414aa60366166b88be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=82=A6?= Date: Wed, 22 Jun 2022 01:28:14 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-wallpaper.md. Signed-off-by: sunyue --- zh-cn/application-dev/reference/apis/js-apis-wallpaper.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b26073f45b..323a24ebbd 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md +++ b/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md @@ -606,7 +606,7 @@ getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.Pixel **示例:** ```js - wallpaper.getPixelMap(WALLPAPER_SYSTEM, function (err, data) { + wallpaper.getPixelMap(wallpaper.WallpaperType.WALLPAPER_SYSTEM, function (err, data) { console.info('wallpaperXTS ===> testGetPixelMapCallbackSystem err : ' + JSON.stringify(err)); console.info('wallpaperXTS ===> testGetPixelMapCallbackSystem data : ' + JSON.stringify(data)); }); -- GitLab