标题 如何利用递归来给layui的树形组件绑定sqlServer递归表的数据? 上图是我的数据库内容 public ActionResult GetArea() { List<City> rootList = new List<City>(); foreach(var item in context.Area.Where(a => a.isroot == true)) { rootList.Add(new City