最顶层了, store 可以存当前 action 对象了
This commit is contained in:
parent
6c8949d8e2
commit
f23f5c554d
|
@ -186,8 +186,7 @@ export default class Page extends React.Component<PageProps> {
|
|||
) {
|
||||
const {env, store, messages} = this.props;
|
||||
|
||||
// delegate 表示不是当前层的事件,而是孩子节点的。
|
||||
delegate || store.setCurrentAction(action);
|
||||
store.setCurrentAction(action);
|
||||
|
||||
if (
|
||||
action.actionType === 'url' ||
|
||||
|
|
Loading…
Reference in New Issue