var picker = new mui.PopPicker({
layer: 2
});
var newArr = [];
var newArr1 =[];
for (var i = 0; i < category.length; i++) { //循环一级
newArr1 = [];
for (y = 0; y < typelst.length; y++) { //循环二级
if (category[i].Id == typelst[y].Categoryid) {
newArr1.push({
value: typelst[y].Id,
text: typelst[y].Typename,
});
}
}
newArr.push({
value: category[i].Id,
text: category[i].Classify,
children: newArr1,
});
}