fix:eventaction ts errir

Change-Id: I462f47935a9d8dc7a65376c998fd37c9f3579fa6
This commit is contained in:
hsm-lv 2022-07-27 16:46:36 +08:00
parent 69f2ae47bc
commit df49046f73

View File

@ -505,7 +505,7 @@ export class EventControl extends React.Component<
const actionConfig = actionConfigInitFormatter?.(action); const actionConfig = actionConfigInitFormatter?.(action);
const actionNode = findActionNode(actionTree, actionConfig?.actionType!); const actionNode = findActionNode(actionTree, actionConfig?.actionType!);
const hasSubActionNode = findSubActionNode(actionTree, action.actionType); const hasSubActionNode = findSubActionNode(actionTree, action.actionType);
const cmpts = getComponents(actionNode); const cmpts = getComponents(actionNode!);
const node = findTree(cmpts, item => item.value === action.componentId); const node = findTree(cmpts, item => item.value === action.componentId);
let setValueDs: any = null; let setValueDs: any = null;