去掉重复的ajaxKeyinfIsUsed调用

This commit is contained in:
wangxin
2019-01-28 22:18:08 +08:00
parent 1b9fef3bc8
commit c2b33847f9

View File

@@ -242,24 +242,6 @@ function cancelPassOpt(url){
});
}
}
if(canCancel){
//查询证书是否被拦截策略引用
if(compileIds.length > 0){
$.ajax({
type:'post',
url:'${ctx}/proxy/intercept/strateagy/ajaxKeyinfIsUsed',
data:{"compileIds":compileIds.join(',')},
async:false,
success:function(data){//处理返回结果
if(data == false){
top.$.jBox.tip('<spring:message code="keyring_is_used"/>');
canCancel=data;
}
}
});
}
}
if(canCancel){
doAll(checkboxes,url);
}