@model (List list, string parent, int level,HashSet funcCheckSet) @{ Layout = null; } @foreach (Function f in Model.list) { if (f.ParentName == Model.parent) { string ischecked = Model.funcCheckSet.Contains(f.Id) ? "checked" : "";
@if (f.ParentName == "-") { - } @(f.Title.TrimToNull() ?? f.Name) @if (!string.IsNullOrEmpty(f.Note)) { 说明:@f.Note }
@await Html.PartialAsync("RoleFunctionEdit_Part1",(Model.list, f.Name, level:Model.level + 1, Model.funcCheckSet))
} }