| | |
| | | /*********************************************************************** |
| | | * Project: CoreCms.Net * |
| | | * Web: https://CoreCms.Net * |
| | | * ProjectName: 核心内容管理系统 * |
| | | * Author: 大灰灰 * |
| | | * Email: JianWeie@163.com * |
| | | * Project: baifenBinfa.Net * |
| | | * Web: https://baifenBinfa.com * |
| | | * ProjectName: 百分兵法管理系统 * |
| | | * Author: * |
| | | * Email: * |
| | | * CreateTime: 2020-03-03 5:04:42 |
| | | * Description: 暂无 |
| | | ***********************************************************************/ |
| | |
| | | last = true, |
| | | parentId = "0", |
| | | title = "无父级", |
| | | |
| | | children = new List<dtreeChild>() |
| | | }); |
| | | } |
| | |
| | | parentTree.last = !oldNavs.Exists(p => p.parentId == item.id); |
| | | parentTree.isParent = !parentTree.last; |
| | | parentTree.otherData = item; |
| | | parentTree.key=item.key; |
| | | |
| | | childTree.Add(parentTree); |
| | | parentTree.children = GetMenus(oldNavs, item.id); |