完成添加变量功能

This commit is contained in:
2025-07-03 12:55:00 +08:00
parent 6a503de26e
commit 4159e95bf3
16 changed files with 528 additions and 124 deletions

View File

@@ -71,7 +71,7 @@ public static class ObjectExtensions
targetProperty.PropertyType.GetGenericTypeDefinition() == typeof(List<>);
// 场景 1: 属性类型完全相同
if (targetProperty.PropertyType == sourceProperty.PropertyType)
if (targetProperty.PropertyType.FullName == sourceProperty.PropertyType.FullName)
{
targetProperty.SetValue(ttarget, sourceValue);
}