private Task OnRadioItemChanged(CheckboxState state, SelectedItem item) { RadioDropDownItems.Add(new SelectedItem($"{RadioDropDownItems.Count() + 1}", $"城市 {RadioDropDownItems.Count()}")); StateHasChanged(); return(Task.CompletedTask); }
private void OnRadioItemChanged(CheckboxState state, SelectedItem item) { RadioDropDownItems.Add(new SelectedItem($"{RadioDropDownItems.Count() + 1}", $"城市 {RadioDropDownItems.Count()}")); StateHasChanged(); }