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,
};
},