From 19542281826dbf98a7e4ebf9e7dd4a0c31247c7f Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期四, 10 十月 2024 11:20:17 +0800
Subject: [PATCH] 优化标签显示

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/03-property/00-core/HydroParterPropertyViewModel.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/03-property/00-core/HydroParterPropertyViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/03-property/00-core/HydroParterPropertyViewModel.cs
index 3e0ab9f..3b75903 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/03-property/00-core/HydroParterPropertyViewModel.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/03-property/00-core/HydroParterPropertyViewModel.cs
@@ -24,7 +24,7 @@
             this.Code = rhs.Code;
             this.ModelType = rhs.ModelType;
             this.DbId = rhs.DbId;
-            this.Flags = rhs.Flags?.ToList();
+            this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags);
             this.Description = rhs.Description;
         }
 
@@ -100,7 +100,7 @@
         [PropertyOrder(8)]
         [IsHydroFlagsPro(true)]
         [Browsable(true)]
-        public virtual List<string> Flags { get; set; }
+        public virtual string Flags { get; set; }
 
         /// <summary>
         /// 璇存槑
@@ -126,7 +126,7 @@
             this.ModelType = rhs.ModelType;
             this.DbId = rhs.DbId;
             this.DbLocked = rhs.DbLocked;
-            this.Flags = rhs.Flags?.ToList();
+            this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags);
             this.Description = rhs.Description;
         }
 

--
Gitblit v1.9.3