版本号修改为1.3.4.4

This commit is contained in:
GoEdgeLab
2024-04-16 13:52:58 +08:00
parent 1b454e2bcc
commit 561692348c
3 changed files with 4 additions and 35 deletions

View File

@@ -11045,7 +11045,7 @@ Vue.component("http-compression-config-box", {
isOn: false,
useDefaultTypes: true,
types: ["brotli", "gzip", "zstd", "deflate"],
level: 5,
level: 3,
decompressData: false,
gzipRef: null,
deflateRef: null,
@@ -11115,19 +11115,6 @@ Vue.component("http-compression-config-box", {
allTypes: configTypes
}
},
watch: {
"config.level": function (v) {
let level = parseInt(v)
if (isNaN(level)) {
level = 1
} else if (level < 1) {
level = 1
} else if (level > 10) {
level = 10
}
this.config.level = level
}
},
methods: {
isOn: function () {
return ((!this.vIsLocation && !this.vIsGroup) || this.config.isPrior) && this.config.isOn
@@ -11203,15 +11190,6 @@ Vue.component("http-compression-config-box", {
</tr>
</tbody>
<tbody v-show="isOn()">
<tr>
<td>压缩级别</td>
<td>
<select class="ui dropdown auto-width" v-model="config.level">
<option v-for="i in 10" :value="i">{{i}}</option>
</select>
<p class="comment">级别越高,压缩比例越大。</p>
</td>
</tr>
<tr>
<td>支持的扩展名</td>
<td>