diff --git a/src/admin/Bootstrap.Admin/Components/PageContent.cs b/src/admin/Bootstrap.Admin/Components/PageContent.cs index dee33af1..2b576bdf 100644 --- a/src/admin/Bootstrap.Admin/Components/PageContent.cs +++ b/src/admin/Bootstrap.Admin/Components/PageContent.cs @@ -6,18 +6,18 @@ using System.Linq; namespace Bootstrap.Admin.Components { /// - /// + /// PageContent 网页组件 /// public class PageContent : ComponentBase { /// - /// + /// 获得/设置 组件名字 /// [Parameter] public string Name { get; set; } = ""; /// - /// + /// 渲染组件方法 /// /// protected override void BuildRenderTree(RenderTreeBuilder builder) @@ -25,6 +25,7 @@ namespace Bootstrap.Admin.Components var name = Name.SpanSplit("/").LastOrDefault(); if (!string.IsNullOrEmpty(name)) { + // TODO: 稍后重构使用标签动态加载组件 var t = Type.GetType($"Bootstrap.Admin.Pages.Admin.{name}"); if (t != null) { diff --git a/src/admin/Bootstrap.Admin/Components/PageContentAttributes.cs b/src/admin/Bootstrap.Admin/Components/PageContentAttributes.cs index 4074d1db..86865314 100644 --- a/src/admin/Bootstrap.Admin/Components/PageContentAttributes.cs +++ b/src/admin/Bootstrap.Admin/Components/PageContentAttributes.cs @@ -1,7 +1,7 @@ namespace Bootstrap.Admin.Components { /// - /// + /// PageContentAttributes 实体类 /// public class PageContentAttributes {