修复配置导入校验时空指针异常

This commit is contained in:
zhangwenqing
2019-05-23 18:28:04 +08:00
parent 00b3ea807f
commit 672d76b046
4 changed files with 12 additions and 11 deletions

View File

@@ -174,7 +174,8 @@ var importCfg=function(){
}
// 代理-操控业务Profile Info
if($("#functionId").val() == 215){
var manipulateType = $("input[name='manipulatType']:checked").val();
if(manipulateType == 85 || manipulateType == 90 || manipulateType == 16){
if($("#profileSelId").val() == "" || $("#profileSelId").val() == null){
$("span",$error).html($("#noneProfileTip").val());
$error.removeClass("hide");