BUG527:エラーの共通処理追加

This commit is contained in:
xiaozhe.ma
2024-07-31 18:28:25 +09:00
parent 96722d9c2f
commit b6a68198f5
23 changed files with 345 additions and 123 deletions

View File

@@ -74,12 +74,12 @@ export class DataUpdateAction implements IAction {
}
async process(
prop: IActionNode,
actionNode: IActionNode,
event: any,
context: IContext
): Promise<IActionResult> {
this.actionProps = prop.actionProps;
this.dataMappingProps = prop.ActionValue as Props;
this.actionProps = actionNode.actionProps;
this.dataMappingProps = actionNode.ActionValue as Props;
console.log(context);
let result = {
canNext: true,
@@ -121,7 +121,7 @@ export class DataUpdateAction implements IAction {
);
}
} catch (error) {
console.error("DataMappingAction error", error);
context.errors.handleError(error,actionNode);
result.canNext = false;
}
console.log("dataMappingProps", this.dataMappingProps);