From 9d82a0693019747981d7fe5e31fdaec8d5a9d76a Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Sun, 16 Dec 2018 12:11:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=AD=97=E7=AC=A6=E4=B8=B2?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B64-1024?= 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, 2 insertions(+) diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 71265bccd..cee623201 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -404,6 +404,8 @@ $(function(){ defaultText:'please input keywords', 'delimiter':'***and***',//特殊字符串分隔与表达式的多关键词 maxCount:4, + 'minChars' : 4, //每个标签的小最字符 + 'maxChars' : 1024, //每个标签的最大字符,如果不设置或者为0,就是无限大 onAddTag:function(tag,size){ var reg = new RegExp(/\t|\r|\n/); if (tag.match(reg)) {