提交 b12464d1 编写于 作者: Mosher's avatar Mosher

update:更新

上级 d4c90254
......@@ -4,6 +4,7 @@ TARGET=PSAPPDEUILOGIC
<#ibizinclude>
../@MACRO/ui-logic-node.txt
</#ibizinclude>
import { UIActionContext } from "@/logic/ui-logic";
/**
* ${item.name}
*
......@@ -99,7 +100,7 @@ export default class ${srfclassname('${item.getCodeName()}')}UILogicBase {
try {
const actionContext = this.beforeExecute(args, context, params, $event, xData, actioncontext, srfParentDeName);
<#if item.getStartPSDEUILogicNode?? && item.getStartPSDEUILogicNode()??>
await this.execute_${item.getStartPSDEUILogicNode().codeName}_node(actionContext);
await this.execute_${item.getStartPSDEUILogicNode().codeName?lower_case}_node(actionContext);
<#else>
throw new Error('没有开始节点');
</#if>
......
......@@ -154,7 +154,7 @@
*
* @param {UIActionContext} actionContext 界面逻辑上下文
*/
protected async execute_${logicNode.codeName?lower_case}_node(actionContext: UIActionContext) {
protected async execute_${logicNode.codeName?lower_case}_node(actionContext: UIActionContext) {
// <#if item?? && item.name??>${item.name}</#if>
<#if logicNode.getLogicNodeType() == 'BEGIN'>
<#-- 开始节点 -->
......@@ -217,5 +217,5 @@ protected async execute_${logicNode.codeName?lower_case}_node(actionContext: UIA
console.log('${logicNode.getLogicNodeType()}暂未支持');
</#if>
<@computeNextNode logicNode/>
}
}
</#macro>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册