diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp
index b96e4d1cd..08bcecc16 100644
--- a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp
@@ -19,7 +19,10 @@
setInterceptDefaultInfo("");
$("#serviceId").val($(this).attr("serviceId"));
$("#protocolId").val($(this).attr("protocolId"));
+ openSingleBoxsolid();
+
});
+ openSingleBoxsolid();
$("#serviceId").val($(".action:checked").attr("serviceId"));
$("#protocolId").val($(".action:checked").attr("protocolId"));
$(".ratelimitAction").find("input[name='userRegion1']").on("change",function(){
@@ -141,6 +144,14 @@
}); */
$("." + addBtnClassName).removeClass("hidden");
}
+ //单域默认展开且不可关闭
+ var openSingleBoxsolid = function() {
+ var boxsolidLenth=$(".boxSolid").prev(".form-section:visible").length;
+ if(boxsolidLenth == 1){
+ $(".boxSolid").prev(".form-section:visible").find("span[title=add]").click();
+ $(".boxSolid").prev(".form-section:visible").next(".boxSolid").find("span[title=remove]").addClass("hidden");
+ }
+ }
@@ -180,8 +191,10 @@
-
+
+
+
@@ -224,30 +237,6 @@