We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu 组件的应用场景较多,比如作为 Navbar、Sidebar 或者一些二级控件。 但就目前而言,Menu 组件存在许多零零散散的问题,不能让开发者快速实现上述场景需求。
width
height
router
v-model
MenuItem
ActiveMenuItem
基于上述问题,我们或许可以做以下改进:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What problem does this feature solve
背景
Menu 组件的应用场景较多,比如作为 Navbar、Sidebar 或者一些二级控件。
但就目前而言,Menu 组件存在许多零零散散的问题,不能让开发者快速实现上述场景需求。
问题案例
width
API 却没有height
——这里引申出的 API 规范化的问题,会在另一个 issue 中进一步讨论router
缺乏 demo,简短的文字描述可能会让开发者产生错误的理解:v-model
双向绑定有更好的配合?MenuItem
插槽替换整个默认项,再通过手动获取上下文又处理一大堆逻辑来判断当前项是否为激活态——其实可以再拆出一个ActiveMenuItem
插槽,就能节省很多工作量。What does the proposed API look like
任务列表
基于上述问题,我们或许可以做以下改进:
The text was updated successfully, but these errors were encountered: