From 5588e7b696d8d47929522176b18004cde00dd9c6 Mon Sep 17 00:00:00 2001 From: houyoujin Date: Thu, 18 Jan 2024 16:47:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4json=E8=A7=A3=E6=9E=90?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houyoujin --- CHANGELOG.md | 3 +++ README.OpenSource | 12 ++++++------ library/oh-package.json5 | 2 +- library/src/main/ets/components/index.ts | 1 - 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35940f3..32dce6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 1.0.1-rc.0 +1.修改post命令上传文件性能问题 + # 1.0.0 1.DevEco Studio 版本: 4.1 Canary(4.1.3.317),OpenHarmony SDK:API11 (4.1.0.36) 2.Ark Ts 语法适配 diff --git a/README.OpenSource b/README.OpenSource index 58ad2f6..58e989e 100644 --- a/README.OpenSource +++ b/README.OpenSource @@ -1,11 +1,11 @@ [ { - "Name": "axios", - "License": "MIT License", - "License File": "https://github.com/axios/axios/blob/v1.x/LICENSE", - "Version Number": "1.1.2", + "Name": "commons-fileupload", + "License": "Apache 2.0 License", + "License File": "LICENSE.txt", + "Version Number": "2.0.0-M2", "Owner" : "xiafeng@huawei.com", - "Upstream URL": "https://github.com/axios/axios", - "Description": "Promise based HTTP client for the browser and node.js" + "Upstream URL": "https://github.com/apache/commons-fileupload", + "Description": "The Apache Commons FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications." }, ] \ No newline at end of file diff --git a/library/oh-package.json5 b/library/oh-package.json5 index 67dbde2..de8dadc 100644 --- a/library/oh-package.json5 +++ b/library/oh-package.json5 @@ -14,7 +14,7 @@ "main": "Index.ets", "repository": "https://gitee.com/openharmony-sig/commons-fileupload", "type": "module", - "version": "1.0.0", + "version": "1.0.1-rc.0", "tags": [ "OpenHarmony", "fileUpload", diff --git a/library/src/main/ets/components/index.ts b/library/src/main/ets/components/index.ts index b5fe4e5..455bd15 100644 --- a/library/src/main/ets/components/index.ts +++ b/library/src/main/ets/components/index.ts @@ -36,7 +36,6 @@ export class FileUpload { if (!url) throw new Error("无效的url"); url = buildUrl(this.constructOptions.baseUrl, url); options = mergeConfig(this.constructOptions, options); - logger.log(`请求配置:地址--${url} config--${JSON.stringify(options)}`) return new Promise((resolve, reject) => { let httpRequest = http.createHttp(); -- Gitee