📜  选择了 blazor 选项 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:09.646000             🧑  作者: Mango

代码示例1


@SelectedYear

@code { private int SelectedYear { get; set; } = 2018; void ChangeYear(ChangeEventArgs e) { SelectedYear = Convert.ToInt32(e.Value.ToString()); } }