视图 bug

This commit is contained in:
2024-07-05 15:17:17 +08:00
parent f35e9f3815
commit 9d625784e6
3 changed files with 13 additions and 13 deletions

View File

@@ -623,8 +623,8 @@ public class DataInterfaceService : IDataInterfaceService, IDynamicApiController
}
catch (Exception e)
{
if (e.Message == "TypeError: Method or property not found")
{
// if (e.Message == "TypeError: Method or property not found")
// {
try
{
var result = await PreviewWithOutJs(id, input);
@@ -635,11 +635,11 @@ public class DataInterfaceService : IDataInterfaceService, IDynamicApiController
{
throw Oops.Oh(ErrorCode.COM1020);
}
}
else
{
throw Oops.Oh(ErrorCode.COM1020);
}
// }
// else
// {
// throw Oops.Oh(ErrorCode.COM1020);
// }
}
}
#endregion