根据说明文档使用values 结果一直失败,最后直接用value 实现默认多选 ! 不知道说啥!
$(function(){
$('#commcode').combotree({url: '${web}/sysuserinfo_getAreaCode.do',
required: true,
value: ${areabaglimit},
onSelect : function(node) {
if(0 == node.id){
//清除选中
$('#areacode').combotree('clear');
}
}
});
});
<select class="easyui-combotree" id='commcode' multiple name="areabaglimit.commcode" cascadeCheck="true" style="width:180px;"></select>
js创建组合数
&