Skip to content
New issue

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

是否可以让BMenuItem组件具有匹配路由然后选中的功能 #30

Closed
6166aa opened this issue Dec 18, 2019 · 1 comment
Closed
Labels
feature request New feature or request wait publish 已修复,等待发布

Comments

@6166aa
Copy link

6166aa commented Dec 18, 2019

能否让BMenuItem组件添加Match(或其他名字的属性)来匹配当前路由如果能匹配则为选中状态
eg:
系统设置(当前地址:https//*:50/Setting)
这种情况则让上面菜单组件是选中状态

@wzxinchen wzxinchen added the feature request New feature or request label Dec 24, 2019
@wzxinchen
Copy link
Contributor

wzxinchen commented Jan 2, 2020

将会采用全字匹配的方式来进行匹配,同时增加Match属性允许自定义匹配逻辑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request wait publish 已修复,等待发布
Projects
None yet
Development

No branches or pull requests

2 participants