feat: 设置默认排序列
This commit is contained in:
parent
39aa8bfd1d
commit
bbe2631541
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue