From a02ad558884bda9730a386c5e797f1fcc6c790e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Thu, 7 Apr 2022 15:56:33 +0800 Subject: [PATCH] docs: uniCloud storage cloudPath --- docs/uniCloud/storage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/uniCloud/storage.md b/docs/uniCloud/storage.md index b47145238..07a851e55 100644 --- a/docs/uniCloud/storage.md +++ b/docs/uniCloud/storage.md @@ -44,7 +44,7 @@ |参数名 |类型 |必填 |默认值 |说明 |平台差异说明 | |:-: |:-: |:-: |:-: |:-: |:-: | |filePath |String |是 |- |要上传的文件对象 |- | -|cloudPath |String |是 |- |文件的绝对路径,包含文件名 |- | +|cloudPath |String |是 |- |使用腾讯云时,表示文件的绝对路径,包含文件名。使用阿里云时,`cloudPath`为云端文件名 |- | |fileType |String |- |- |文件类型,支付宝小程序、钉钉小程序必填,可选image、video、audio|- | |onUploadProgress |Function |否 |- |上传进度回调 |- | @@ -460,7 +460,7 @@ HBuilderX 3.1.0之前版本如使用阿里云,请在客户端通过`uniCloud.u | 字段 | 类型 | 必填| 说明 | | --- | --- | --- | --- | -| cloudPath | string| 是 | 文件的名字(包含文件名)| +| cloudPath | string| 是 | 使用腾讯云时,表示文件的绝对路径,包含文件名。使用阿里云时,`cloudPath`为云端文件名 | | fileContent | - | 是 | 文件内容,请看下方说明 | **说明** -- GitLab