$("#domain_user").select2({
placeholder : '请选择',
minimumInputLength : 1, //默认最少输入1位
language : "zh-CN",
width : "137px",
allowClear : true,
ajax : {
type : "post",
url : "tudstat/getUserData",
dataType : 'json',
delay : 250,
data : function(params) {minimumInputLength 参数删掉该参数就默认会查询数据了,不需要输入值查询
1141

被折叠的 条评论
为什么被折叠?



