Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过footerRender配置页脚,无法在routes中根据路由隐藏 #49

Open
CementSealing opened this issue Oct 14, 2022 · 2 comments

Comments

@CementSealing
Copy link

在SwitchTabsLayout中配置footerRender={() => <Footer />},想在某些页面中隐藏footer, 在router.ts中配置hideFooter:true无效。

{
    path: '/editor',
    name: 'editor',
    component: './Editor',
    layout: {
      hideFooter: true,
    },
  },
@CementSealing
Copy link
Author

use-switch-tabs版本:0.2.3

@yunsii
Copy link
Owner

yunsii commented Oct 14, 2022

这是 pro-layout 的功能吧,我有空看看 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants