注释掉${_cfg.behavCode}的判断,页面修改时直接调用ajax添加行为

This commit is contained in:
wangxin
2018-09-28 10:19:50 +08:00
parent d1b7a9e9b9
commit 520a336037
2 changed files with 4 additions and 4 deletions

View File

@@ -97,9 +97,9 @@ $(function(){
},
errorContainer: "#messageBox",
});
if('${_cfg.behavCode}'){
//if('${_cfg.behavCode}'){
ajaxBehaviour($("#specServiceIdId").val());
}
//}
$("#specServiceIdId").on("change",function(){
ajaxBehaviour($(this).val());
});

View File

@@ -85,9 +85,9 @@ $(function(){
},
errorContainer: "#messageBox",
});
if('${_cfg.behavCode}'){
//if('${_cfg.behavCode}'){
ajaxBehaviour($("#specServiceIdId").val());
}
//}
$("#specServiceIdId").on("change",function(){
ajaxBehaviour($(this).val());
});