(1)去掉误输入的字符

(2)添加加密隧道行为菜单项
This commit is contained in:
wangxin
2018-08-14 15:01:19 +08:00
parent 6ffd267c6a
commit a4cc2fb89c
3 changed files with 17 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
laow<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<html>
<head>
@@ -110,6 +110,10 @@ laow<%@ page contentType="text/html;charset=UTF-8" %>
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
$(".protocol_desc").html('<font color="red">*</font><spring:message code="app_desc"/>:');
}else if($("[name='cfgType']").val()==2){
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
$(".protocol_desc").html('<font color="red">*</font><spring:message code="tunnel_desc"/>:');
}else{
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');
@@ -133,6 +137,10 @@ laow<%@ page contentType="text/html;charset=UTF-8" %>
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
$(".protocol_desc").html('<font color="red">*</font><spring:message code="app_desc"/>:');
}else if(cfgType==2){
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
$(".protocol_desc").html('<font color="red">*</font><spring:message code="tunnel_desc"/>:');
}else{
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');