From f1d8c73c76306028584022e18aa9586f0a51422a Mon Sep 17 00:00:00 2001 From: zhongjianfei Date: Thu, 20 Apr 2023 22:44:05 +0800 Subject: [PATCH] fix docs bugs for ArkTS card. Signed-off-by: zhongjianfei Change-Id: Iaa38951052e6f8427fa99f908c0b679370580faf --- .../application-models/arkts-ui-widget-image-update.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/application-models/arkts-ui-widget-image-update.md b/zh-cn/application-dev/application-models/arkts-ui-widget-image-update.md index 41194c5da7..769ddc4c04 100644 --- a/zh-cn/application-dev/application-models/arkts-ui-widget-image-update.md +++ b/zh-cn/application-dev/application-models/arkts-ui-widget-image-update.md @@ -66,7 +66,7 @@ let tempDir = this.context.getApplicationContext().tempDir; let tmpFile = tempDir + '/file' + Date.now(); request.downloadFile(this.context, { - url: netFile, filePath: tmpFile + url: netFile, filePath: tmpFile, enableMetered: true, enableRoaming: true }).then((task) => { task.on('complete', function callback() { console.info('ArkTSCard download complete:' + tmpFile); -- GitLab