diff --git a/src/BootstrapBlazor/Components/Select/Select.razor.cs b/src/BootstrapBlazor/Components/Select/Select.razor.cs index 88b91588a09..a89e0530e50 100644 --- a/src/BootstrapBlazor/Components/Select/Select.razor.cs +++ b/src/BootstrapBlazor/Components/Select/Select.razor.cs @@ -213,6 +213,24 @@ public partial class Select : ISelect [Parameter] public string? SwalFooter { get; set; } + /// + /// 获得/设置 服务实例 + /// + [Parameter] + public ILookupService? LookupService { get; set; } + + /// + /// 获得/设置 服务获取 Lookup 数据集合键值 常用于外键自动转换为名称操作,可以通过 传递自定义数据 + /// + [Parameter] + public string? LookupServiceKey { get; set; } + + /// + /// 获得/设置 服务获取 Lookup 数据集合键值自定义数据,通过 指定键值 + /// + [Parameter] + public object? LookupServiceData { get; set; } + [Inject] [NotNull] private IStringLocalizer>? Localizer { get; set; } diff --git a/src/BootstrapBlazor/Components/Select/SelectBase.cs b/src/BootstrapBlazor/Components/Select/SelectBase.cs index 6282372aa78..afe7b453cc3 100644 --- a/src/BootstrapBlazor/Components/Select/SelectBase.cs +++ b/src/BootstrapBlazor/Components/Select/SelectBase.cs @@ -53,24 +53,6 @@ public abstract class SelectBase : PopoverSelectBase [Parameter] public RenderFragment? GroupItemTemplate { get; set; } - /// - /// 获得/设置 服务实例 - /// - [Parameter] - public ILookupService? LookupService { get; set; } - - /// - /// 获得/设置 服务获取 Lookup 数据集合键值 常用于外键自动转换为名称操作,可以通过 传递自定义数据 - /// - [Parameter] - public string? LookupServiceKey { get; set; } - - /// - /// 获得/设置 服务获取 Lookup 数据集合键值自定义数据,通过 指定键值 - /// - [Parameter] - public object? LookupServiceData { get; set; } - /// /// 获得/设置 IIconTheme 服务实例 ///