diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index 4b50bdeee..27bb7b07f 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -983,10 +983,10 @@ src_ip_report=\u5883\u5185\u6E90IP\u62A5\u8868 dest_ip_report=\u76EE\u7684\u56FD\u5BB6IP\u62A5\u8868 isp_report=\u8FD0\u8425\u5546\u5C40\u70B9\u62A5\u8868 #=============about report=================== -ip_multiplex_policy=IP Reuse Policy -target_ip_protect=Anti DDOS -ip_multiplex_pool_config=IP Reuse Addr Pool -letter=Official Letter +ip_multiplex_policy=IP\u590D\u7528\u7B56\u7565 +target_ip_protect=\u6297DDOS\u653B\u51FB +ip_multiplex_pool_config=IP\u590D\u7528\u5730\u5740\u6C60 +letter=\u61D2\u6C49 show_more=\u5C55\u793A\u66F4\u591A #===============dashboard begin=================================== dashboard=\u7EDF\u8BA1\u56FE\u8868 diff --git a/src/main/webapp/WEB-INF/tags/sys/treeselect.tag b/src/main/webapp/WEB-INF/tags/sys/treeselect.tag index 2fc704fb5..bc47cf5ed 100644 --- a/src/main/webapp/WEB-INF/tags/sys/treeselect.tag +++ b/src/main/webapp/WEB-INF/tags/sys/treeselect.tag @@ -112,11 +112,17 @@ //} $("#${id}Id").change();//手动触发change事件,使Id的值得变化可以被监听到 $("#${id}Name").val(names.join(",")); + if(!$("#${id}Name").val()&&'${value}'){//如果值不存在,但是value却有值,将placeholder清空 + $("#${id}Name").attr("placeholder",""); + } }else if (v == "clear"){ $("#${id}Id").val(""); //$("#${id}Id").removeAttr('cfgtype'); $("#${id}Id").change();//手动触发change事件,使Id的值得变化可以被监听到 $("#${id}Name").val(""); + if('${value}'){//如果值不存在,但是value却有值,将placeholder清空 + $("#${id}Name").attr("placeholder",""); + } } if(typeof ${id}TreeselectCallBack == 'function'){ ${id}TreeselectCallBack(v, h, f);