引入ztree

This commit is contained in:
yubaolee
2017-08-31 19:23:29 +08:00
parent 15a9697ed0
commit d88668def1
16 changed files with 668 additions and 132 deletions

View File

@@ -35,9 +35,7 @@ namespace OpenAuth.App
moduleView.Elements =
service.ModuleElements.Where(u => u.ModuleId == moduleView.Id).OrderBy(u => u.Sort).ToList();
}
user.ModuleWithChildren = user.Modules.GenerateTree(c => c.Id, c => c.ParentId);
return user;
}
}