Page 组件下发 loading 状态

This commit is contained in:
liaoxuezhi 2019-09-25 11:36:51 +08:00
parent e3cc7ace16
commit 748316ca94
1 changed files with 2 additions and 1 deletions

View File

@ -376,7 +376,8 @@ export default class Page extends React.Component<PageProps> {
} = this.props;
const subProps = {
onAction: this.handleAction
onAction: this.handleAction,
loading: store.loading
};
const hasAside = aside && (!Array.isArray(aside) || aside.length);