From 4f380943bd88fcd597a77633893505cc1e60c0cc Mon Sep 17 00:00:00 2001 From: "seth.tian" Date: Tue, 25 Oct 2022 19:25:47 +0800 Subject: [PATCH] =?UTF-8?q?JSY-23574=20fix:=E6=8F=92=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=96=B0=E5=A2=9E=E5=8A=A0=E7=9A=84=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=90=8E,=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.xml | 2 +- .../fanruan/fs/s3/repository/core/S3ResourceRepository.java | 1 - .../resources/com/fanruan/fs/s3/repository/web/js/bundle.js | 4 +++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugin.xml b/plugin.xml index f8285e7..f3dfa44 100644 --- a/plugin.xml +++ b/plugin.xml @@ -5,7 +5,7 @@ com.fanruan.fs yes no - 1.3.5 + 1.3.6 11.0~11.0 2021-08-30 richie diff --git a/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java b/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java index a4a4a3d..d39e435 100644 --- a/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java +++ b/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java @@ -1,7 +1,6 @@ package com.fanruan.fs.s3.repository.core; import com.amazonaws.ClientConfiguration; -import com.amazonaws.Protocol; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.client.builder.AwsClientBuilder; diff --git a/src/main/resources/com/fanruan/fs/s3/repository/web/js/bundle.js b/src/main/resources/com/fanruan/fs/s3/repository/web/js/bundle.js index b7a90d8..80a25c6 100644 --- a/src/main/resources/com/fanruan/fs/s3/repository/web/js/bundle.js +++ b/src/main/resources/com/fanruan/fs/s3/repository/web/js/bundle.js @@ -147,6 +147,7 @@ BI.config("dec.constant.intelligence.cluster.file.server", function (items) { el: { disabled: !o.editable, type: "bi.switch", + selected: this.model.keepAlive, listeners: [{ eventName: BI.Editor.EVENT_CHANGE, action: function () { @@ -165,6 +166,7 @@ BI.config("dec.constant.intelligence.cluster.file.server", function (items) { el: { disabled: !o.editable, type: "bi.switch", + selected: this.model.useGzip, listeners: [ { eventName: BI.Switcher.EVENT_CHANGE, @@ -247,7 +249,7 @@ BI.config("dec.constant.intelligence.cluster.file.server", function (items) { workRoot: val.workRoot, keepAlive: val.keepAlive, useGzip: val.useGzip, - maxConnection: val.maxConnection, + maxConnection: val.maxConnection||50, }; },