完善下拉框封装
This commit is contained in:
parent
a28e1b371f
commit
f8b47e0667
@ -3,6 +3,8 @@ using JiShe.ServicePro.Commons;
|
||||
using JiShe.ServicePro.Core;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using static FreeSql.Internal.GlobalFilter;
|
||||
|
||||
namespace JiShe.IoT.CommonServices
|
||||
{
|
||||
@ -21,8 +23,10 @@ namespace JiShe.IoT.CommonServices
|
||||
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user