From 02f121e53aabfc0026e0603b2285ca2ac1f3a7e1 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Thu, 18 Oct 2018 10:28:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=85=B3=E9=94=AE=E5=AD=97?= =?UTF-8?q?=E9=99=90=E5=88=B6=E9=95=BF=E5=BA=A61024?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/static/global/scripts/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 28969d073..0a1814252 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -1,7 +1,7 @@ $(function(){ //增加描述新增时的文字长度限制 $("form input[name='cfgDesc']").attr("maxlength","128"); - $("form input[name$='cfgKeywords']").attr("maxlength","2048"); + $("form input[name$='cfgKeywords']").attr("maxlength","1024"); //截取过长的文字 使用id选择器;例如:tab对象->tr->td对象. 排除日志table .logTb $("#contentTable").not(".logTb").find("td").each(function(i){ //获取td当前对象的文本,如果长度大于25;