diff --git a/web/public/js/components/server/http-charsets-box.js b/web/public/js/components/server/http-charsets-box.js
index 94bb8bbb..34e7e87c 100644
--- a/web/public/js/components/server/http-charsets-box.js
+++ b/web/public/js/components/server/http-charsets-box.js
@@ -6,11 +6,18 @@ Vue.component("http-charsets-box", {
charsetConfig = {
isPrior: false,
isOn: false,
- charset: ""
+ charset: "",
+ isUpper: false
}
}
return {
- charsetConfig: charsetConfig
+ charsetConfig: charsetConfig,
+ advancedVisible: false
+ }
+ },
+ methods: {
+ changeAdvancedVisible: function (v) {
+ this.advancedVisible = v
}
},
template: `
@@ -41,6 +48,19 @@ Vue.component("http-charsets-box", {
+
+
+
+ | 字符编码是否大写 |
+
+
+
+
+
+
+ |
+
+
`
diff --git a/web/public/js/components/server/http-web-root-box.js b/web/public/js/components/server/http-web-root-box.js
index 92a5de84..adca7903 100644
--- a/web/public/js/components/server/http-web-root-box.js
+++ b/web/public/js/components/server/http-web-root-box.js
@@ -36,6 +36,9 @@ Vue.component("http-web-root-box", {
},
removeIndex: function (i) {
this.rootConfig.indexes.$remove(i)
+ },
+ isOn: function () {
+ return (!this.vIsLocation || this.rootConfig.isPrior) && this.rootConfig.isOn
}
},
template: `
@@ -44,7 +47,7 @@ Vue.component("http-web-root-box", {
- | 是否开启 |
+ 是否开启 |
@@ -52,6 +55,8 @@ Vue.component("http-web-root-box", {
|
+
+
| 文档根目录 |
@@ -60,9 +65,9 @@ Vue.component("http-web-root-box", {
|
-
+
-
+
| 首页文件 |
|