37 lines
996 B
C#
37 lines
996 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using AntDesign;
|
|
using antblazorpro.Models;
|
|
using antblazorpro.Services;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace antblazorpro.Pages.List
|
|
{
|
|
public partial class Applications
|
|
{
|
|
private readonly ListGridType _listGridType = new ListGridType
|
|
{
|
|
Gutter = 16,
|
|
Xs = 1,
|
|
Sm = 2,
|
|
Md = 3,
|
|
Lg = 3,
|
|
Xl = 4,
|
|
Xxl = 4,
|
|
};
|
|
|
|
private readonly ListFormModel _model = new ListFormModel();
|
|
private readonly IList<string> _selectCategories = new List<string>();
|
|
|
|
private IList<ListItemDataType> _fakeList = new List<ListItemDataType>();
|
|
|
|
|
|
[Inject] public IProjectService ProjectService { get; set; }
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
await base.OnInitializedAsync();
|
|
_fakeList = await ProjectService.GetFakeListAsync(8);
|
|
}
|
|
}
|
|
} |