feat: 设置默认排序列

This commit is contained in:
Argo-Tianyi 2021-12-30 13:48:35 +08:00
parent 39aa8bfd1d
commit bbe2631541
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<TableColumn @bind-Field="context.Category" Filterable="true" Searchable="true" Sortable="true"></TableColumn>
<TableColumn @bind-Field="context.Name" Filterable="true" Searchable="true" Sortable="true"></TableColumn>
<TableColumn @bind-Field="context.Code" Filterable="true" Searchable="true" Sortable="true"></TableColumn>
<TableColumn @bind-Field="context.Define" Filterable="true" Searchable="true" Sortable="true"></TableColumn>
<TableColumn @bind-Field="context.Define" Filterable="true" Searchable="true" Sortable="true" DefaultSort="true" DefaultSortOrder="SortOrder.Desc"></TableColumn>
</ColumnsTemplete>
<CustomerSearchTemplate>
@if (context is DictsSearchModel searchModel)