This commit is contained in:
2020-07-08 18:14:41 +08:00
parent c4fb80d06b
commit 9ffdfa652a
30 changed files with 640 additions and 1271 deletions

View File

@@ -46,7 +46,7 @@ unescapeHTML(temp){}
* @param { String } url 服务器 url
* @param { String } filePath 要上传文件资源的路径
* @param { String } type 上传文件验证类型 默认: img 可选: video
* @return { object } promise 对象 resolve 文件服务器地址 reject 错误信息
* @return { object } promise 对象 resolve 返回文件服务器地址 reject 返回错误信息
*/
uploadFile({ url, filePath, type = 'img' } = {}) {}
```