Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
hocgin committed Sep 12, 2024
1 parent 2bbee08 commit 934eb23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Promise/components/PageLayout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export interface PageLayoutProps {
* logo
*/
logo?: React.ReactNode;
footer?: React.ReactNode;
/**
* 内容
*/
Expand Down Expand Up @@ -80,7 +81,7 @@ const PageLayout: React.FC<PageLayoutProps> = ({
rightContentRender={rightContentRender}
headerContentRender={() => <ProBreadcrumb />}
menuItemRender={(item, dom) => <Link to={item.path || DEFAULT_PATHNAME}>{dom}</Link>}
footerRender={() => <Footer />}
footerRender={() => rest?.footer || <Footer />}
{...rest}>
{children}
</ProLayout>);
Expand Down

0 comments on commit 934eb23

Please sign in to comment.