提交 c23c40ef 编写于 作者: KK's avatar KK

界面行为后台调用 -- fix

上级 ea6e1652
......@@ -102,9 +102,9 @@ ${backend_block}
<#assign nextPSUIAction = item.getNextPSUIAction()/>
const { data: result } = response;
let _args: any[] = [];
if (Object.is(actionContext.$util.typeOf(result), 'array')) {
if (Object.is(container.$util.typeOf(result), 'array')) {
_args = [...result];
} else if (Object.is(actionContext.$util.typeOf(result), 'object')) {
} else if (Object.is(container.$util.typeOf(result), 'object')) {
_args = [{...result}];
} else {
_args = [...args];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册