配置字符串增加长度限制4-1024
This commit is contained in:
@@ -404,6 +404,8 @@ $(function(){
|
|||||||
defaultText:'please input keywords',
|
defaultText:'please input keywords',
|
||||||
'delimiter':'***and***',//特殊字符串分隔与表达式的多关键词
|
'delimiter':'***and***',//特殊字符串分隔与表达式的多关键词
|
||||||
maxCount:4,
|
maxCount:4,
|
||||||
|
'minChars' : 4, //每个标签的小最字符
|
||||||
|
'maxChars' : 1024, //每个标签的最大字符,如果不设置或者为0,就是无限大
|
||||||
onAddTag:function(tag,size){
|
onAddTag:function(tag,size){
|
||||||
var reg = new RegExp(/\t|\r|\n/);
|
var reg = new RegExp(/\t|\r|\n/);
|
||||||
if (tag.match(reg)) {
|
if (tag.match(reg)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user