Js解析json
var sysModule=[];
var treeJson = <%=(sysModule) %>;
if (treeJson.length == 0) $("#content").html("");
$(treeJson).each(function (i, menu) {
console.log(i);
console.log(menu);
var item ="";
$(menu.children).each(function (j, submenu) {
item += "<li><a href=\""+submenu.Url+"\"><i
class=\""+submenu.icon+"\"></i><span
class=\"hidden-tablet\">"+submenu.Name+"</span></a></li>";
});
$("#nav_menu").html(item);
});