fix 处理分页值问题
This commit is contained in:
@@ -35,14 +35,12 @@ public class DevicePageResponse
|
||||
/// <summary>
|
||||
/// 设备功能 DeviceFuncEnumType
|
||||
/// </summary>
|
||||
public List<string> Funcs
|
||||
public List<DeviceFuncEnumType> Funcs
|
||||
{
|
||||
get
|
||||
{
|
||||
if (FuncsStr.IsEmpty()) FuncsStr = "[]";
|
||||
|
||||
var func = FuncsStr.ToObject<List<DeviceFuncEnumType>>();
|
||||
return func.Select(x => x.GetDescription()).ToList();
|
||||
return FuncsStr.ToObject<List<DeviceFuncEnumType>>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user