Comments (11)
我都看不懂你这个提问……
from ant-design-pro-plus.
我都看不懂你这个提问……
就是在page使用的时候能不能在其他地方实现,不用export default 去实现
from ant-design-pro-plus.
说得还是不明确,路由配置只是指定文件路径,文件在哪儿都可以,不知道是不是这个意思?
from ant-design-pro-plus.
说得还是不明确,路由配置只是指定文件路径,文件在哪儿都可以,不知道是不是这个意思?
就是我将所有配置都配置好了,就差使用了,在页面使用时怎么都出现不了多标签 ,另外我想问问这种模式该处理使用呢:
基于路由,每个路由只渲染一个标签页
from ant-design-pro-plus.
默认就是这个模式,你是已有项目集成还是基于我这个项目的?
from ant-design-pro-plus.
已有项目集成呢
from ant-design-pro-plus.
那还得看你是不是 ant design pro v5 了,这个需要加个 layout 层来拦截路由的,建议你搞个最小化的 demo 我可以帮你看看。
from ant-design-pro-plus.
我是antd design pro V4
from ant-design-pro-plus.
https://github.com/yunsii/ant-design-pro-plus/blob/v4-legacy/src/layouts/BasicLayout.tsx#L172 没有最小化 demo 的话,我只能说看看 v4-legacy 分支的实现了。
from ant-design-pro-plus.
https://github.com/yunsii/ant-design-pro-plus/blob/v4-legacy/src/layouts/BasicLayout.tsx#L172 没有最小化 demo 的话,我只能说看看 v4-legacy 分支的实现了。
好的,我再看看,如有问题再向你请教,感谢
from ant-design-pro-plus.
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 2
- 对antd pro layout 是mix的,tab会多出一个 HOT 8
- 项目升级到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.