@@ -48,7 +48,7 @@ public static class EnumExtensions
public static List<KeyValuePair<int, string>> GetEnumKeyValueList<TEnum>() where TEnum : Enum
{
// 按照枚举定义的顺序获取键值对
- return typeof(ESeatEvaluate)
+ return typeof(TEnum)
.GetFields()
.Where(f => f.IsLiteral) // 过滤出枚举字段
.Select(f =>