@code { private static readonly Random random = new Random(); ///
/// ///
/// protected static List GenerateItems() => new List(Enumerable.Range(1, 80).Select(i => new BindItem() { Id = i, Name = $"张三 {i:d4}", DateTime = DateTime.Now.AddDays(i - 1), Address = $"上海市普陀区金沙江路 {random.Next(1000, 2000)} 弄", Count = random.Next(1, 100), Complete = random.Next(1, 100) > 50 })); ///
/// ///
protected static IEnumerable Items { get; } = GenerateItems(); }