From b16ea7b378c9a6acf67d53e7f5f94aea6fff2f0c Mon Sep 17 00:00:00 2001 From: wusongqing Date: Tue, 26 Apr 2022 16:42:51 +0800 Subject: [PATCH] fixed 698e2c5 from https://gitee.com/wusongqing/docs/pulls/3512 updated docs Signed-off-by: wusongqing --- en/application-dev/reference/apis/js-apis-system-app.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-system-app.md b/en/application-dev/reference/apis/js-apis-system-app.md index db1fc9a0e0..761d2276e3 100644 --- a/en/application-dev/reference/apis/js-apis-system-app.md +++ b/en/application-dev/reference/apis/js-apis-system-app.md @@ -138,7 +138,7 @@ Sets the maximum size (in bytes) of the image data cached in the memory before d export default { onCreate() { - app.setImageRawDataCacheSize(104,857,600) // Set the upper limit of the memory for caching image data before decoding to 100 MB. + app.setImageRawDataCacheSize(100) // Set the upper limit of the memory for caching image data before decoding to 100 MB. console.info('Application onCreate') }, onDestroy() { @@ -168,7 +168,7 @@ Sets the maximum size of the image file cache (in bytes) to speed up the loading export default { onCreate() { - app.setImageFileCacheSize(209,715,200) // Set the upper limit of the image file cache to 200 MB. + app.setImageFileCacheSize(200) // Set the upper limit of the image file cache to 200 MB. console.info('Application onCreate') }, onDestroy() { -- GitLab