refactor: 移除 UseInjectDataService 参数
This commit is contained in:
parent
4436a74b60
commit
78ab4ad0d0
|
@ -4,8 +4,7 @@
|
|||
IsPagination="IsPagination" PageItemsSource="PageItemsSource" IsFixedHeader="IsFixedHeader"
|
||||
IsTree="IsTree" OnTreeExpand="OnTreeExpand!" TreeIcon="fa-chevron-circle-right"
|
||||
ShowDefaultButtons="ShowDefaultButtons" ShowAdvancedSearch="ShowAdvancedSearch"
|
||||
ShowEmpty="true" EmptyText="暂无数据" EmptyImage="images/empty.svg"
|
||||
UseInjectDataService="true" DataService="DataService" SortList="SortList"
|
||||
ShowEmpty="true" EmptyText="暂无数据" EmptyImage="images/empty.svg" SortList="SortList"
|
||||
OnQueryAsync="OnQueryAsync!" OnDeleteAsync="OnDeleteAsync!" OnSaveAsync="OnSaveAsync!"
|
||||
ShowSkeleton="true" ShowLoading="ShowLoading" ShowSearch="ShowSearch"
|
||||
ShowToolbar="ShowToolbar" ShowExtendButtons="ShowExtendButtons"
|
||||
|
|
|
@ -118,12 +118,6 @@ namespace BootstrapAdmin.Web.Components
|
|||
[Parameter]
|
||||
public ITableSearchModel? CustomerSearchModel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public IDataService<TItem>? DataService { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
|
|
@ -65,7 +65,6 @@ namespace BootstrapAdmin.Web.Extensions
|
|||
#endif
|
||||
});
|
||||
|
||||
|
||||
// 增加后台任务
|
||||
services.AddTaskServices();
|
||||
services.AddHostedService<AdminTaskService>();
|
||||
|
|
Loading…
Reference in New Issue