(1)修复IP Payload导入Search In字段瞎填不验证的bug,导入直接下发加入userregion的处理

(2)界面删除时的alert注释掉
This commit is contained in:
wangxin
2019-01-15 17:48:35 +08:00
parent 78e4907fe0
commit 57a490b1cc
3 changed files with 16 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ public class CheckIpFormatThread implements Callable<String>{
String userRegion1 = baseIpCfg.getUserRegion1();
if (StringUtils.isNotBlank(userRegion1)) {
Object val = DictUtils.getDictLabel("INTERCEPT_REPLACE_ZONE", userRegion1);
if (StringUtils.isBlank(val.toString())) {
if (StringUtils.isBlank(val.toString())||"默认".equals(val.toString())) {
errInfo.append(String.format(prop.getProperty("is_incorrect"), prop.getProperty("replace_zone"))
+ ";");
}