You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
1. 有示例代码吗?
演示代码在 demo 分支
2. 配置后标签栏位置出现了偏移
请在 app.tsx 的 layout 方法中添加
disableContentMargin: true
配置3. 登录页出现了标签页怎么办?
登录页不要在路由写 name, 有 name 就有标签页,或者在 name 下方再加一个配置,hideInPanelTab: true,也可以在标签中隐藏
4. 提示
@umijs/plugin-access is already registered
可能是你使用的umijs版本太新了!!!
当前新版默认不再约定使用
access.ts
自动开启, 尝试在config.ts
中添加access: {}
试试~详见umijs/plugins#779
5. 需要自定义控制缓存?
请参阅依赖 umi-plugin-keep-alive 与 react-activation
6. 项目中使用了国际化菜单, 标签没有国际化?
该插件默认不开启国际化模式, 需要在
config.ts
中配置打开autoI18n: true
7. 列表页在标签下方出现了标题和面包屑, 怎么去掉?
在对应页面中给
PageContainer
增加两个属性title={false}
breadcrumb={undefined}
8. 标签页上方的header随页面滚动, 怎么固定?
defaultSettings.ts
中fixedHeader: true
9. 怎么将面包屑放到标签栏上方的header中?
在
app.ts
的layout
函数中返回值加入headerContentRender: () => <ProBreadcrumb />
The text was updated successfully, but these errors were encountered: