修改app payload特征l3_header配置的表达式字段和匹配类型字段

This commit is contained in:
zhangwei
2018-12-22 21:50:02 +06:00
parent aadd9dd2bf
commit 17482e1c6b
6 changed files with 28 additions and 7 deletions

View File

@@ -80,6 +80,21 @@ $(function(){
flag = false;
}
}else{
var length = 0;
$(this).parents(".boxSolid").find(".l3_header_prop").each(function(){
if($(this).val()!=''){
length += 1;
}
})
if(length>0){
$(this).val("");
if(length>4){
$(this).parents(".boxSolid").find(
"div[class='l3_header_tips']").html("<label id=\"l3_header_error\" class=\"error\">"+$("#l3_header_error").text()+"</label>");
flag = false;
}
}
}
});
//keywords非空校验完成校验二进制字符串

View File

@@ -347,6 +347,7 @@
<c:choose>
<c:when test="${cfg.exprType eq 1}"><spring:message code='and_expression'/></c:when>
<c:when test="${cfg.exprType eq 0}"><spring:message code='null_expression'/></c:when>
<c:when test="${cfg.exprType eq 3}"><spring:message code='offset_expression'/></c:when>
</c:choose>
</label>
</div>