refactor(flow) : 重新实现了UIContextOperation的注入逻辑,为后续开发Avalonia版本的编辑器做准备。

This commit is contained in:
fengjiayi
2025-09-19 23:58:52 +08:00
parent 0161c64e2c
commit 630008198d
21 changed files with 415 additions and 200 deletions

View File

@@ -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)
{