|
@@ -107,6 +107,10 @@ namespace Venus_MainPages.Views
|
|
{
|
|
{
|
|
|
|
|
|
var dictionary = SerializeHelper.Instance.StringToDictionary(value);
|
|
var dictionary = SerializeHelper.Instance.StringToDictionary(value);
|
|
|
|
+ if (dictionary.Count == 0)
|
|
|
|
+ {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
foreach (var item in PreLotTreeView.Items)
|
|
foreach (var item in PreLotTreeView.Items)
|
|
{
|
|
{
|
|
var tvi = (TreeViewItem)PreLotTreeView.ItemContainerGenerator.ContainerFromItem(item);
|
|
var tvi = (TreeViewItem)PreLotTreeView.ItemContainerGenerator.ContainerFromItem(item);
|