Browse Source

Pull request #80: JSY-23574 fix:插件修改新增加的配置后,显示不对

Merge in PG/plugin-repository-s3 from ~SETH.TIAN/plugin-repository-s3:persist/jsy-11.0 to persist/jsy-11.0

* commit '4f380943bd88fcd597a77633893505cc1e60c0cc':
  JSY-23574 fix:插件修改新增加的配置后,显示不对
persist/jsy-11.0
Seth.Tian-田新兴 2 years ago
parent
commit
9513fd66f9
  1. 2
      plugin.xml
  2. 1
      src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java
  3. 4
      src/main/resources/com/fanruan/fs/s3/repository/web/js/bundle.js

2
plugin.xml

@ -5,7 +5,7 @@
<main-package>com.fanruan.fs</main-package>
<active>yes</active>
<hidden>no</hidden>
<version>1.3.5</version>
<version>1.3.6</version>
<env-version>11.0~11.0</env-version>
<jartime>2021-08-30</jartime>
<vendor>richie</vendor>

1
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;

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

Loading…
Cancel
Save