diff --git a/src/blazor/admin/BootstrapAdmin.Web/Components/DictSearch.razor b/src/blazor/admin/BootstrapAdmin.Web/Components/DictSearch.razor index 9e5cf0d2..e09a4e40 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Components/DictSearch.razor +++ b/src/blazor/admin/BootstrapAdmin.Web/Components/DictSearch.razor @@ -1,15 +1,15 @@ 
- +
- +
- +
-
diff --git a/src/blazor/admin/BootstrapAdmin.Web/Models/DictsSearchModel.cs b/src/blazor/admin/BootstrapAdmin.Web/Models/DictsSearchModel.cs index 542e4dab..a8550b88 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Models/DictsSearchModel.cs +++ b/src/blazor/admin/BootstrapAdmin.Web/Models/DictsSearchModel.cs @@ -1,4 +1,5 @@ using BootstrapAdmin.DataAccess.Models; +using System.ComponentModel.DataAnnotations; namespace BootstrapAdmin.Web.Models { @@ -10,23 +11,27 @@ namespace BootstrapAdmin.Web.Models /// /// 获得/设置 字典标签 /// + [Display(Name = "字典标签")] public string? Category { get; set; } - /// - /// 获得/设置 字典类型 - /// - public EnumDictDefine? Define { get; set; } - /// /// 获得/设置 字典名称 /// + [Display(Name = "字典名称")] public string? Name { get; set; } /// /// 获得/设置 字典代码 /// + [Display(Name = "字典代码")] public string? Code { get; set; } + /// + /// 获得/设置 字典类型 + /// + [Display(Name = "字典类型")] + public EnumDictDefine? Define { get; set; } + /// /// ///