interceptPolicy去掉限速action、IP和域名都不填bug

This commit is contained in:
wangwei
2019-06-21 16:35:52 +08:00
parent 84579c8f3f
commit 4a3e865c75

View File

@@ -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 }"