From 8bfc4210fd9ca4ba26948763d4915714bc635c14 Mon Sep 17 00:00:00 2001 From: LiAn Date: Sun, 24 Apr 2022 08:01:26 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-system-app.md. Signed-off-by: LiAn --- zh-cn/application-dev/reference/apis/js-apis-system-app.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-app.md b/zh-cn/application-dev/reference/apis/js-apis-system-app.md index 548fb4f640..eee9100757 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-app.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-app.md @@ -138,7 +138,7 @@ setImageRawDataCacheSize(value: number): void export default { onCreate() { - app.setImageRawDataCacheSize(104,857,600) // 设置解码前图片数据内存缓存上限为100MB + app.setImageRawDataCacheSize(100) // 设置解码前图片数据内存缓存上限为100MB console.info('Application onCreate') }, onDestroy() { @@ -168,7 +168,7 @@ setImageFileCacheSize(value: number): void export default { onCreate() { - app.setImageFileCacheSize(209,715,200) // 设置图片文件数据缓存上限为200MB + app.setImageFileCacheSize(200) // 设置图片文件数据缓存上限为200MB console.info('Application onCreate') }, onDestroy() { -- GitLab