Comments (2)
// config/route.ts
export const routes: IBestAFSRoute[] = [
{
path: '/welcome',
component: 'IndexPage',
name: '欢迎', // 兼容此写法
icon: 'testicon',
// 更多功能查看
// https://beta-pro.ant.design/docs/advanced-menu
// ---
// 新页面打开
target: '_blank',
// 不展示顶栏
headerRender: false,
// 不展示页脚
footerRender: false,
// 不展示菜单
menuRender: false,
// 不展示菜单顶栏
menuHeaderRender: false,
// 权限配置,需要与 plugin-access 插件配合使用
access: 'canRead',
// 隐藏子菜单
hideChildrenInMenu: true,
// 隐藏自己和子菜单
hideInMenu: true,
// 在面包屑中隐藏
hideInBreadcrumb: true,
// 子项往上提,仍旧展示,
flatMenu: true,
},
];
from ant-design-pro.
好的,谢谢
from ant-design-pro.
Related Issues (20)
- 想灵活的加一些功能 可惜 咋技术不高 不知道在哪里添加
- 🐛 [BUG] HOT 1
- upload组件上传失败后hover出现异常代码
- AntDesignPro for react 如何在不起后端接口的情况下,使用mock进行模拟权限切换?
- 🐛 [BUG]: broken link
- 🐛 [BUG] ProFormSelect 中传递了默认值,但没有渲染在显示区域中 HOT 1
- 🐛 [BUG] 脚手架生成的空项目路由报错 HOT 2
- 🐛 [BUG] Ant Design Pro 6.0 报警告 Warning: findDOMNode is deprecated and will be removed in the next major release. HOT 4
- 🐛 [BUG] prolayout的属性applist 在移动端不展示
- 🐛 [BUG] new project, mock is not effect
- 🧐[问题 | run build打包后没有按文件夹输出]
- 脚标里的这个c在哪个配置项里删除啊? HOT 2
- node 20.13.1 执行pro create myapp 报错 HOT 1
- 🐛 [BUG]新建项目空白页问题 HOT 3
- FooterToolbar如何根据菜单栏的折叠状态来进行宽度的修改
- 🧐[问题 | question]项目部署更新后页面报错,Something went wrong. Loading chunk 807 failed. 强制刷新后又好了
- 🧐[问题 | question]ant-design-pro v6加入qiankun后如何配置子应用的路由?
- pro.ant.design的官网,左上角的menu切换时没有缩回去。🐛 [BUG] HOT 2
- pro.ant.design的官网,左上角的menu切换时没有缩回去。🐛 [BUG] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design-pro.