diff options
| author | wangwei <[email protected]> | 2019-06-21 16:35:52 +0800 |
|---|---|---|
| committer | wangwei <[email protected]> | 2019-06-21 16:35:52 +0800 |
| commit | 4a3e865c752c97c3a03e826cd06a05bd1efd6ff7 (patch) | |
| tree | a3b071d9b1f0cbe34bb23f1785a02f911b3f5da7 | |
| parent | 84579c8f3f3e9fea98bc9c19a8fd03beb019d2af (diff) | |
interceptPolicy去掉限速action、IP和域名都不填bug
| -rw-r--r-- | src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp | 4 |
1 files changed, 2 insertions, 2 deletions
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 1167df845..b7865089e 100644 --- a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp @@ -98,7 +98,7 @@ legend{padding:.5em;border:0;width:auto;font-family: "Open Sans", sans-serif;col var compileId=$("input[name=compileId]").val();
//代表所有业务都隐藏了,提示必须增加一种业务数据
- if(($(".boxSolid").length ==$(".boxSolid.hidden").length) && compileId!=0){
+ if(($(".boxSolid").length ==$(".boxSolid.hidden").length) && (compileId=='' || compileId!=0)){
top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>");
return;
}else{
@@ -578,7 +578,7 @@ legend{padding:.5em;border:0;width:auto;font-family: "Open Sans", sans-serif;col <c:forEach items="${serviceList}" var="service"
varStatus="satus">
<label class="radio-inline"> <c:if
- test="${_cfg.functionId eq service.functionId}">
+ test="${_cfg.functionId eq service.functionId and service.action ne 64}">
<input type="radio" name="action" class="action"
serviceId="${service.serviceId }"
protocolId="${service.protocolId }"
|
