app策略action切换添加switchAction函数

This commit is contained in:
wangxin
2018-09-21 19:02:20 +08:00
parent 0b831059d2
commit fef3fbac33
2 changed files with 3 additions and 1 deletions

View File

@@ -54,4 +54,5 @@ DELETE FROM policy_group_info;
DELETE FROM pptp_url_cfg;
DELETE FROM proxy_file_strategy_cfg;
DELETE FROM ssl_keyword_cfg;
DELETE FROM pxy_obj_keyring;
DELETE FROM pxy_obj_keyring;
DELETE FROM intercept_pkt_bin;

View File

@@ -21,6 +21,7 @@ $(function(){
if($(this).val()==1){
$(".ipPortAdd").click();
}
switchAction($(this).val());
});
$("#serviceId").val($(".action:checked").attr("serviceId"));
$("#protocolId").val($(".action:checked").attr("protocolId"));