fix: fix tag input demo.

This commit is contained in:
rabbitism
2023-12-26 16:40:17 +08:00
parent 3a827cf86a
commit 5ac95a9965
2 changed files with 16 additions and 6 deletions

View File

@@ -4,10 +4,17 @@ namespace Ursa.Demo.ViewModels;
public class TagInputDemoViewModel: ViewModelBase
{
private ObservableCollection<string> _Tags ;
private ObservableCollection<string> _tags = new () ;
public ObservableCollection<string> Tags
{
get { return _Tags; }
set { SetProperty(ref _Tags, value); }
get => _tags;
set => SetProperty(ref _tags, value);
}
private ObservableCollection<string> _distinctTags = new();
public ObservableCollection<string> DistinctTags
{
get => _distinctTags;
set => SetProperty(ref _distinctTags, value);
}
}