Comments (8)
应该跟布局类型无关吧,能提供一下截图吗?/aa 是怎么渲染的?
from ant-design-pro-plus.
from ant-design-pro-plus.
设置了分割菜单,这就让一级菜单可以点击了。但一级菜单是一个目录。所以就有问题了
from ant-design-pro-plus.
自动分割菜单这个功能是新 feature 吧,我研究一下再答复你,会尽快修复的。
from ant-design-pro-plus.
谢谢
from ant-design-pro-plus.
问题解决了,由于 React Router 的 redirect 逻辑之前一直没处理 😂 按照之前 ant design pro 的菜单逻辑是不会自动触发 redirect 的,现在这个自动分割菜单的功能就会触发 redirect 了。
当前项目内实现可参考 commit:acdc50a
use-switch-tabs 中的处理:https://github.com/yunsii/use-switch-tabs/blob/master/src/utils.tsx#L45
from ant-design-pro-plus.
thanku
from ant-design-pro-plus.
close as stale
from ant-design-pro-plus.
Related Issues (20)
- 请问支持微前端 qiankun 吗 HOT 2
- 动态路由不支持 HOT 3
- nested routes? HOT 5
- 体验不好,如果页面内容比较多,出现滚动条,tabs也跟着滚动了 HOT 3
- 项目启动报错 HOT 7
- v4-legacy 怎么语言问题
- 请问一下,刷新页面时如何保留当前页面,将其他页面关闭 HOT 2
- history传参query操作路由后,跳转到的页面标签页出现异常 HOT 7
- 关闭当前标签页并同时跳转到另一个标签页 HOT 4
- 如何判断现在停留在哪个标签页? HOT 3
- 如何再路由中设置,不要再页面中设置 HOT 11
- 在页面中使用不出现多标签栏是怎么回事,试了好多遍,不知道哪里出问题了 HOT 2
- 项目升级到umi4后,无法缓存页面 HOT 1
- 通过footerRender配置页脚,无法在routes中根据路由隐藏 HOT 2
- isSwitchTab 判断异常 HOT 7
- vite 是否可以配置 antd-vue 按需求加载 HOT 6
- 问题:请问config/config.dev.ts是干嘛的? HOT 2
- 使用多标签页功能时,menu请求不生效 HOT 1
- antd pro v5 umi4 在app.tsx 中如何获取 route HOT 4
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-plus.