mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
fix:eventaction ts errir
Change-Id: I462f47935a9d8dc7a65376c998fd37c9f3579fa6
This commit is contained in:
parent
69f2ae47bc
commit
df49046f73
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user