mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-28 10:43:21 +08:00
refactor(flow) : 重新实现了UIContextOperation的注入逻辑,为后续开发Avalonia版本的编辑器做准备。
This commit is contained in:
@@ -154,7 +154,15 @@ namespace Serein.Proto.HttpApi
|
||||
}
|
||||
else if (jsonObject != null && PostArgTypes[i] == PostArgType.IsBobyData)
|
||||
{
|
||||
args[i] = jsonObject.ToObject(type);
|
||||
if (type.IsEnum)
|
||||
{
|
||||
args[i] = jsonObject.ToObject(type);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
args[i] = jsonObject.ToObject(type);
|
||||
}
|
||||
}
|
||||
else if (jsonObject != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user