diff --git a/src/main/webapp/WEB-INF/include/form/ipInfo.jsp b/src/main/webapp/WEB-INF/include/form/ipInfo.jsp
index 7c38ef0f3..004944d27 100644
--- a/src/main/webapp/WEB-INF/include/form/ipInfo.jsp
+++ b/src/main/webapp/WEB-INF/include/form/ipInfo.jsp
@@ -2,143 +2,147 @@
<%@ include file="/WEB-INF/include/taglib.jsp"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<%--
diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js
index 0749d2961..d4be194b0 100644
--- a/src/main/webapp/static/global/scripts/common.js
+++ b/src/main/webapp/static/global/scripts/common.js
@@ -32,12 +32,12 @@ $(function(){
$(this).selectpicker("refresh");
});
obj.removeClass("hidden");
- switchIpInfo(obj.find("select[name$='ipType']"),"ipType");
+ switchIpInfo(obj.find("select[name$='ipType']"));
obj.find("select[name$='ipType']").on("change",function(){
- switchIpInfo($(this),"ipType");
+ switchIpInfo($(this));
});
obj.find("select[name$='ipPattern']").on("change",function(){
- switchIpInfo($(this),"ipPattern");
+ switchIpInfo($(this));
});
obj.appendTo("#areaIp");
$("#areaIsp").find(".container-fluid").each(function(){
@@ -175,7 +175,7 @@ var switchIpType=function(obj){
}
}
//ipType、ipPattern、portPattern选项变化时调用此方法,添加默认值
-var switchIpInfo=function(obj,type){
+var switchIpInfo=function(obj){
var ipType="";
var ipPattern="";
var portPattern="";