Comments (1)
抱歉这是设计所致,组件内部直接从 vue-router 中拉取路由信息生成菜单,不会对路由信息进行任何处理。
路由 -> 菜单,不经过任何转化才是符合直觉的处理方式,我不想引入一些特定的格式去限制发挥。
如何你喜欢这种格式,可以通过 routes
传递第一个 children 下面的路由。
from element-pro-components.
Related Issues (20)
- vue3 yarn add element-pro-components error HOT 8
- 报错:在使用unplugin-vue-components 和 unplugin-auto-import这两款插件对element-plus进行按需引用时候 HOT 1
- 加一个Columns加一个属性editRender、detailRender支持render的函数动态渲染。 HOT 2
- 搜索和重置按钮添加图标没出现 HOT 3
- checkbox 选中事件无效 HOT 1
- table formatter无效 HOT 1
- undefined value for fields that are not edited HOT 1
- search-menu-right 插槽能改变下位置嘛 HOT 2
- 验证规则 HOT 2
- 官网国际化Bug HOT 2
- pro-layout Bug HOT 1
- array 类型报错is not a string HOT 3
- typo:过度 → 过渡
- [bug] pro-layout menu 卡槽没有把 collapse 参数暴露出来 HOT 7
- CRUD组件 自定义 pro-select 出现递归更新错误 HOT 1
- [BUG] pro-select 在搜索阶段样式变形,不会自适应大小 HOT 3
- 部分 Vue 版本下,组件没有类型提示,全部被视为 any 类型,无属性提示 HOT 1
- 无法自定义命名空间 HOT 2
- 路由跳转可访问性支持
- 事件参数文档描述完全错误
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 element-pro-components.