防止不同页面冲突,加入判断

This commit is contained in:
wangxin
2018-08-20 20:11:06 +08:00
parent 3ea864a0c9
commit bfb5d0f476

View File

@@ -367,6 +367,7 @@ $(function(){
if(!regionCode){
regionCode=$("input[name='action']").attr("regionCode");
}
if(regionCode){
$("[id='cfgRegionCode']").each(function(){
if($(this).attr("id")==("cfgRegionCode"+regionCode)){
$(this).attr("name","cfgRegionCode");
@@ -535,6 +536,8 @@ $(function(){
}
})
}
}
});
//选择hex cfgkeywords需校验十六进制
$("select[name$='isHexbin']").each(function(){