Compare commits

...

2 Commits

Author SHA1 Message Date
ChenYi
c1badc1603 更新依赖 2025-07-11 16:14:17 +08:00
ChenYi
f8b47e0667 完善下拉框封装 2025-07-11 16:14:05 +08:00
2 changed files with 6 additions and 2 deletions

@ -1 +1 @@
Subproject commit 7ec0ac3eeb5d6f626d9a70b0ac3921249cebd663 Subproject commit 71886c9c2812c1ea99d4d720aa057f7db5711ca6

View File

@ -3,6 +3,8 @@ using JiShe.ServicePro.Commons;
using JiShe.ServicePro.Core; using JiShe.ServicePro.Core;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel;
using static FreeSql.Internal.GlobalFilter;
namespace JiShe.IoT.CommonServices namespace JiShe.IoT.CommonServices
{ {
@ -21,8 +23,10 @@ namespace JiShe.IoT.CommonServices
foreach (var typeInfoItem in typeList) foreach (var typeInfoItem in typeList)
{ {
SelectResultAttribute[] selectResultAttribute =
(SelectResultAttribute[])typeInfoItem.GetCustomAttributes(typeof(SelectResultAttribute), false);
_selectListType.TryAdd(typeInfoItem.Name, CommonHelper.GetEnumAttributeList(typeInfoItem)); _selectListType.TryAdd(typeInfoItem.Name, CommonHelper.GetTypeAttributeList(typeInfoItem, selectResultAttribute[0].IsGetPropertie));
} }
} }