From 101709e3e3742b5be4be4853f33aac0e3359a35f Mon Sep 17 00:00:00 2001 From: anyueling Date: Tue, 13 Dec 2022 16:14:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: anyueling --- zh-cn/application-dev/reference/apis/js-apis-request.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-request.md b/zh-cn/application-dev/reference/apis/js-apis-request.md index 7ec6ecc8b2..6ffa652da0 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-request.md +++ b/zh-cn/application-dev/reference/apis/js-apis-request.md @@ -336,7 +336,8 @@ upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback<Up ## UploadTask -上传任务,使用下列方法前,需要先获取UploadTask对象。 +上传任务,使用下列方法前,需要先获取UploadTask对象,promise形式通过[request.uploadFile9+](#requestuploadfile9)获取,callback形式通过[request.uploadFile9+](#requestuploadfile9-1)获取。 + ### on('progress') @@ -968,7 +969,7 @@ download(context: BaseContext, config: DownloadConfig, callback: AsyncCallback&l ## DownloadTask -下载任务。 +下载任务,使用下列方法前,需要先获取DownloadTask对象,promise形式通过[request.downloadFile9+](#requestdownloadfile9)获取,callback形式通过[request.downloadFile9+](#requestdownloadfile9-1)获取。 ### on('progress') -- GitLab