From 2f04b583ea11542e80bfbc88168765e68643d354 Mon Sep 17 00:00:00 2001 From: wangwei Date: Thu, 6 Jun 2019 11:27:22 +0800 Subject: [PATCH] =?UTF-8?q?http(s)=20Manipulate=E9=87=8D=E5=AE=9A=E5=90=91?= =?UTF-8?q?=E6=97=B6=E5=BF=85=E5=A1=AB=E4=B8=80=E6=9D=A1URL=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/views/cfg/proxy/control/manipulatPolicyForm.jsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/control/manipulatPolicyForm.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/control/manipulatPolicyForm.jsp index 6835de94f..39e2f1798 100644 --- a/src/main/webapp/WEB-INF/views/cfg/proxy/control/manipulatPolicyForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/proxy/control/manipulatPolicyForm.jsp @@ -122,6 +122,7 @@ // 域配置隐藏/显示 if(selValue == 48){ // Redirect 隐藏响应体 $(".resBodyCfg").addClass("hidden"); + addContent(this,'httpUrlTab'); }else if(selValue == 80){ // Replace 隐藏请求响应体 $(".reqBodyCfg").addClass("hidden"); $(".resBodyCfg").addClass("hidden"); @@ -254,6 +255,9 @@ var delContent = function(contentClassName, addBtnClassName) { $("." + contentClassName).addClass("hidden").addClass("disabled"); $("." + addBtnClassName).removeClass("hidden"); + if($(".userRegion5:checked").val()==48){ + addContent(this,"httpUrlTab"); + } }