From 4f2b17ba770d6760ebf8078b72ef47ee54fd31bf Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sat, 27 Nov 2021 17:06:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=9F=E6=88=90=E7=9A=84co?= =?UTF-8?q?mponents.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/public/js/components.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/web/public/js/components.js b/web/public/js/components.js index ad11774f..6ba82bef 100755 --- a/web/public/js/components.js +++ b/web/public/js/components.js @@ -5410,6 +5410,37 @@ Vue.component("http-header-policy-box", { ` }) +// 通用设置 +Vue.component("http-common-config-box", { + props: ["v-common-config"], + data: function () { + let config = this.vCommonConfig + if (config == null) { + config = { + mergeSlashes: false + } + } + return { + config: config + } + }, + template: `
+ + + + + +
合并重复的路径分隔符 +
+ + +
+

合并URL中重复的路径分隔符为一个,比如//hello/world中的//

+
+
+
` +}) + Vue.component("http-cache-policy-selector", { props: ["v-cache-policy"], mounted: function () {