refactor: 移除 UseInjectDataService 参数

This commit is contained in:
Argo-Tianyi 2022-01-09 12:05:40 +08:00
parent 4436a74b60
commit 78ab4ad0d0
3 changed files with 1 additions and 9 deletions

View File

@ -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"

View File

@ -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>

View File

@ -65,7 +65,6 @@ namespace BootstrapAdmin.Web.Extensions
#endif
});
// 增加后台任务
services.AddTaskServices();
services.AddHostedService<AdminTaskService>();